Commit graph

182 commits

Author SHA1 Message Date
yuin
33089e232f Improve typographer 2020-06-04 15:26:24 +09:00
yuin
4a49786b16 Fixes #136 2020-06-04 15:26:24 +09:00
Yusuke Inuzuka
6eb3819f4b
Merge pull request #134 from jlauinger/fix-unsafe-slice-cast
Fix possible memory confusion in unsafe slice cast
2020-06-04 00:26:44 +09:00
Johannes Lauinger
2141537561
update util_unsafe.go to use simpler, yet still safe, cast 2020-06-03 15:45:44 +02:00
Johannes Lauinger
813d953eeb
fix possible memory confusion in unsafe slice cast 2020-05-31 21:32:17 +02:00
yuin
3d78558cf2 Test case now can have a description 2020-05-22 18:42:44 +09:00
yuin
4709d43b81 Fixes #127 2020-05-22 18:39:02 +09:00
yuin
3393022ab6 Fixes #39, Fixes #127, Fixes #128, Fixes #129 2020-05-21 18:13:20 +09:00
yuin
a302193b06 Closes #124 2020-04-19 15:58:14 +09:00
yuin
184f8ef622 Fixes #123 2020-04-16 11:34:53 +09:00
yuin
1f967da77c remove debug print 2020-04-16 00:29:11 +09:00
yuin
66874b397f Fixes #122 2020-04-15 11:16:46 +09:00
yuin
54b1e988cc Fixes #121 2020-04-13 18:44:57 +09:00
yuin
12fc98ebcd Fixes #120 2020-04-01 02:10:28 +09:00
yuin
84d07d567d Bump up go version 2020-03-25 16:54:13 +09:00
yuin
785b85a76a Fixes #115 2020-03-25 15:39:51 +09:00
Yusuke Inuzuka
ff84cd3a51
Add caution with Go 1.14 2020-03-13 02:07:59 +09:00
yuin
2bfdf48a98 Fix invalid handling of settext in lists 2020-03-10 16:31:55 +09:00
Yusuke Inuzuka
fea52e86ab
Merge pull request #112 from cipherboy/checkbox-space
Insert space after task-list checkboxes
2020-03-08 17:56:39 +09:00
yuin
5ab7c64e28 Fixes #111 2020-03-08 17:55:02 +09:00
Alexander Scheel
5c877c8afe
Insert space after task-list checkboxes
According to the GFM spec (and per other implementations), a space
should be inserted after the checkbox input element. This gives visual
separation between the checkbox and its element. Update code and tests
to match.

Signed-off-by: Alexander Scheel <alexander.m.scheel@gmail.com>
2020-03-07 21:14:45 -05:00
yuin
21437947a3 Fixes #104 : Invalid precending character breaks emphasis 2020-03-01 18:41:50 +09:00
yuin
a727b5adb2 Fixes #103 2020-02-18 21:18:57 +09:00
Yusuke Inuzuka
4a200405d7
Merge pull request #102 from jsteuer/master
Allow inline links with empty link text
2020-02-17 11:34:05 +09:00
jsteuer
3a828e641d move test to its correct place... 2020-02-16 18:07:23 +01:00
jsteuer
2a86c1ea31 allow inline links with empty link text. see #101 2020-02-16 17:56:09 +01:00
Yusuke Inuzuka
70a5404a11
Merge pull request #99 from pzl/typos
Small documentation typos
2020-02-15 14:06:21 +09:00
pzl
8bdab9449a
documentation typo fixes 2020-02-14 22:03:49 -05:00
Yusuke Inuzuka
0b49730177
Merge pull request #98 from jschaf/goldmark-97
Fix ast.Walk to respect WalkStop
2020-02-09 18:51:13 +09:00
Joe Schafer
3c340e9970 Fix ast.Walk to respect WalkStop
Fixes #97
2020-02-07 01:42:40 -08:00
yuin
39db45a099 Fixes #94 2020-01-27 14:56:49 +09:00
Yusuke Inuzuka
faaafa55b6
Merge pull request #88 from tangiel/apostrophe
typographer: add basic support for apostrophes
2020-01-11 17:52:47 +09:00
Daniel Tang
45fa0e2645 typographer: add basic support for apostrophes 2020-01-09 15:35:41 -08:00
Yusuke Inuzuka
5294fa5c4f
Merge pull request #87 from qiuzhiqian/master
fix bug: BaseNode.RemoveChildren only set the first child as nil
2020-01-10 00:13:16 +09:00
xml
4fc27178e4 fix bug: if do c.SetNextSibling(nil) and c = c.NextSibling(). After remove the first child the var c is always nil.the next child will not be set nil 2020-01-09 17:33:21 +08:00
Yusuke Inuzuka
3e38e966f6
Update ISSUE_TEMPLATE.md 2020-01-06 19:18:03 +09:00
Yusuke Inuzuka
97405beafd
Merge pull request #85 from hivehand/text-tweaks
Tweak README.md punctuation, grammar, and phrasing
2020-01-04 19:08:27 +09:00
Dan Martinez
4fedb553e3 Tweak README.md punctuation, grammar, and phrasing 2020-01-03 17:50:00 -08:00
Yusuke Inuzuka
4f96330d3f
Merge pull request #84 from Kissaki/patch-1
Link to CommonMark website in README.md
2020-01-02 01:55:28 +09:00
yuin
533a448c5f Update README.md 2020-01-02 01:54:01 +09:00
yuin
94947895e7 Update README.md 2020-01-02 01:51:36 +09:00
yuin
83e7dcebc7 Update README.md 2020-01-02 01:50:19 +09:00
yuin
4b54582dee Fixes #83, Adds options for Linkify 2020-01-02 01:36:46 +09:00
Jan Klass
471456b80a Link to CommonMark website in README.md
Link to the CommonMark website to explicitly reference what it is, and to help users unfamiliar with it to discover and navigate to it.

CommonMark is mentioned very early in the README. Here it is a subheadline. I decided to not link here but in this features section instead where it is listed as one of the features. The subheadline seems more fitting as a short, pure text for those knowing about it.

The link is to the main website rather than the specification as users unfamiliar with it will want to land on the landing page with a description of what it is rather than a technical specification. The specification page does not immediately and obviously link back to the main website.

The shortened term spec is being extended to its full word specification for clarity and discoverability.
2019-12-31 10:14:18 +01:00
yuin
f9b134f6be Fixes #81 2019-12-27 16:03:11 +09:00
Yusuke Inuzuka
2c9db0c8fa
Merge pull request #78 from zzwx-forks/master
Additional <thead>, <tr>, <th>, <td> attributes render
2019-12-26 12:02:50 +09:00
yuin
66a48f66b8 Fixes linkify regression.
https://github.github.com/gfm/#example-627 says '<' immediately ends an autolink.
But goldmark had continued to autolink with '<' due to recently changes.
2019-12-25 15:07:45 +09:00
zzwx
224bf7d721 Additional attributes render with comments 2019-12-24 19:37:21 -05:00
Yusuke Inuzuka
9a4c7bce92
Update ISSUE_TEMPLATE.md 2019-12-22 23:50:35 +09:00
yuin
923eb97048 Fixes #71 2019-12-22 23:31:22 +09:00