46 Commits

Author SHA1 Message Date
Trevor Buckner
63454d2457 Fix GFM Example 116
Only code fences made from backticks cannot have other backticks in the same line. Fences with tildes can have both tildes and backticks. This allows the tilde case to work correctly.

Also test for detection of these fences as they break or do not break paragraphs.
2020-02-10 16:06:38 -05:00
Tony Brix
04187d8fae remove substitutions 2019-08-05 12:37:05 -05:00
Tony Brix
e987a4df32 fix tests 2019-07-02 11:46:47 -05:00
Tony Brix
8ccc1f1547 improve paragraph 2019-07-01 08:47:06 -05:00
Tony Brix
ba2eedd2d0 improve lheading 2019-07-01 08:33:14 -05:00
Tony Brix
57f6d89aff improve heading 2019-07-01 08:30:41 -05:00
Tony Brix
ef4904d89a use correct options 2019-07-01 08:12:01 -05:00
x13machine
902f07e0d9 tests fix 2019-05-22 01:16:36 -05:00
x13machine
c1c1cfa263 conflit fix 2019-05-21 18:38:24 -05:00
x13machine
4c54bd1a66 fixed example #333 2019-03-21 01:18:31 -05:00
Tony Brix
895d3ea1ed update gfm and commonmark tests 2019-03-12 09:32:44 -05:00
Tony Brix
7e1088fe2a
Merge pull request #1400 from mccraveiro/strong-tag
Fix strong tag
2018-12-20 16:37:49 -06:00
Steven
53d7ba0304
Merge pull request #1397 from mccraveiro/escape-tag
Fix tag escaping
2018-12-20 16:39:57 -05:00
Steven
e5e5b097a6
Merge pull request #1395 from mccraveiro/empty-list
Fix empty list items
2018-12-20 16:26:39 -05:00
Mateus Craveiro
d010745cf1 Fix strong tag when the same character is the content 2018-12-20 16:02:19 -02:00
Mateus Craveiro
e51bca64b8 Fix tag escaping 2018-12-20 02:52:47 -02:00
Mateus Craveiro
a0c8eea90f Fix empty list items 2018-12-19 19:07:33 -02:00
Mateus Craveiro
419e6548bf Fix blockquote paragraph continuation 2018-12-19 18:29:05 -02:00
Mateus Craveiro
95f687dd14 Limit ordered list marker 2018-12-17 21:18:44 -02:00
Federico Soave
ca52d38899 use only the first word of the inforstring as the languauge in code blocks (pass cm example 112) 2018-12-08 14:13:37 +01:00
Federico Soave
30a73a36e3 fences must be indent up to 3 spaces (pass cm example 106) 2018-12-08 14:04:42 +01:00
Federico Soave
2f19392e34 handle fenced code blocks ended by end of file (or parent container) and info string compliant to commonmark 2018-12-08 14:02:57 +01:00
Federico Soave
d0aa0b1a08 allow the closing fence to be longer that the opening one (pass cm example 93) 2018-12-08 13:01:36 +01:00
Roman Hotsiy
92509479e4
fix emphasis closing by single _ part of right-flanking run
fixes CommonMark: 456, 355, 451, 354, 356
2018-10-08 15:34:45 +03:00
Steven
002c37434a Add missing semicolons to tests 2018-09-23 20:56:38 -04:00
Josh Bruce
6c2a614cea
Merge pull request #1331 from markedjs/fork-html-differ
use @markedjs/html-differ
2018-09-23 18:27:30 -04:00
Tony Brix
9dc6996d1c fix a few more spec examples 2018-09-18 16:33:23 -05:00
Tony Brix
261a9bcd93 ignoreSelfClosingSlash: true 2018-09-06 13:39:49 -05:00
Tony Brix
d277486e5c update percent done 2018-09-06 13:32:49 -05:00
Tony Brix
72f809fdd7 passing more tests 2018-09-06 13:16:39 -05:00
Tony Brix
57108fc5fc use @markedjs/html-differ 2018-09-06 13:07:05 -05:00
Barry Woolgar
0ba25227cd Exclude punctuation to make 333, 450, 452, 505, and 535, pass 2018-08-03 19:49:10 +01:00
Josh Bruce
706e07dbad
Merge pull request #1304 from UziTech/loose-lists
loose lists
2018-07-14 18:33:29 -04:00
Steven
51cd03f525
Merge pull request #1305 from Trott/enable-468
enable CommonMark spec 468
2018-07-06 15:46:55 -04:00
Rich Trott
9c976cda1c enable CommonMark spec 468
A minor adjustment to the href-matching regexp permits CommonMark spec
468 to pass. All other passing specs are unaffected.

The regexp was incorrectly excluding parentheses as valid characters in
a URL.
2018-07-03 11:43:01 -07:00
Tony Brix
a22ef0f4a4 loose lists 2018-07-03 08:23:03 -05:00
Antoine du Hamel
35db4359b1
test: re-activate passing tests 2018-07-03 11:06:44 +02:00
Remy Rylan
7b1d0be249 Update fenced code blocks to CommonMark standard 2018-05-11 11:12:12 -04:00
Tony Brix
a6c6f0d5a2 update completed table 2018-04-10 10:25:37 -05:00
Tony Brix
539695079d remove passing tests 2018-04-10 10:13:24 -05:00
Tony Brix
4e52c427c6 Merge branch 'master' into pr/1135 2018-04-10 10:10:29 -05:00
Tony Brix
d06bf8d64c update completed table 2018-04-10 09:52:50 -05:00
Tony Brix
1d00a7638a remove beforeEach 2018-04-10 09:34:26 -05:00
Tony Brix
69f663e034 remove when #1212 is merged 2018-04-10 09:34:26 -05:00
Tony Brix
667598bc8e remove passing tests 2018-04-10 09:34:26 -05:00
Tony Brix
db71a7f3b5 move cm tests 2018-04-10 09:34:26 -05:00