Alex Kocharin
0b14fa069f
Update CommonMark spec to 0.30
3 years ago
Alex Kocharin
fa7a419161
Fix edge case for list indents
Now list items cannot be indented more than 4 spaces from the first,
as per commonmark 0.29 spec:
- item 1
- item 2
- item 3
- item 4
- this one is a paragraph continuation
5 years ago
Alex Kocharin
e519e6ac19
Fix emphasis matching where delimiters are multiple of 3
This is now allowed as per commonmark 0.29 spec:
ex***amp***le
See also:
83ed53e12a
fix https://github.com/markdown-it/markdown-it/issues/561
5 years ago
Alex Kocharin
7997fdadcd
Apply special rules for collapsing whitespace inside code blocks
Change as per commonmark 0.29 spec
See also:
e121b4e301
5 years ago
Alex Kocharin
254b776beb
Allow tildes in info string of a fence block with tilde marker
This is now allowed as per commonmark 0.29 spec:
~~~ js ~~~
console.log('hello, world!');
~~~
See also:
b7651e4f8b
5 years ago
Alex Kocharin
f872cbc31e
Allow spaces inside brackets in links
This is now allowed as per commonmark 0.29 spec:
[inline link](<./inline link.md>)
fix https://github.com/markdown-it/markdown-it/issues/567
5 years ago
Alex Kocharin
106ea4b6d0
Update CommonMark spec to 0.29
fix https://github.com/markdown-it/markdown-it/issues/553
5 years ago
Alex Kocharin
2959f8c27c
Update CommonMark spec to 0.28
7 years ago
Alex Kocharin
787fe39e8f
Update CommonMark spec to 0.27
8 years ago
Alex Kocharin
18dd8e3a71
Fix list terminating paragraph shenanigans
8 years ago
Alex Kocharin
1ecf143db0
Fix lists and headings
8 years ago
Alex Kocharin
f07d3862ff
Implement odd matching rules for emphasis
8 years ago
Alex Kocharin
e5696e5b36
Partially fix tabs inside code blocks
8 years ago
Alex Kocharin
ffd30efe99
Update CommonMark spec to 0.26
8 years ago
Alex Kocharin
07cfbc9264
Add workarounds to lists to conform with CM spec
9 years ago
Alex Kocharin
0661eea828
Remove scheme whitelist for autolinks
9 years ago
Alex Kocharin
1482c3e64f
Disallow spaces inside links
1. between link label and reference: `[foo] [bar]`
2. inside angular brackets: `[](<foo bar>)`
9 years ago
Alex Kocharin
637c776ec5
Allow multiline setext headers
9 years ago
Alex Kocharin
ab36c44864
Update CommonMark spec to 0.24
9 years ago
Alex Kocharin
378ac9074e
Change emphasis parsing algorithm
Tokenize first, and replace tokens with emphasis tags on
a second pass using an algorithm close to one used in CM.
9 years ago
Alex Kocharin
b2aee1a978
Expand tabs only when it's needed, as per CommonMark 0.21
9 years ago
Alex Kocharin
02c04be9e5
Fix reference edge-case
9 years ago
Alex Kocharin
b2ea95dcb2
Update CommonMark spec to 0.21
9 years ago
Alex Kocharin
7b961ee1ef
Update CommonMark spec to 0.20
10 years ago
Alex Kocharin
7cd639ed39
Update CommonMark spec to 0.19
10 years ago
Alex Kocharin
70274da643
Update CommonMark spec to 0.18
10 years ago
Alex Kocharin
8da8eff8da
Update CommonMark spec to 0.17+
10 years ago
Vitaly Puzrin
56999c6d5d
CM 0.15 - now all tests pass
10 years ago
Alex Kocharin
b7914cb08a
Update CommonMark spec to 0.15 + emphasis changes
10 years ago
Alex Kocharin
08f2d3eb4d
Forbid nested links, prefer inner one
10 years ago
Alex Kocharin
8470c1cae8
Fix an issue with links skipping space after them
10 years ago
Alex Kocharin
d7221761fb
Render image labels as text
10 years ago
Alex Kocharin
5c7ab1b13c
Revert commonmark spec to 0.13
Previous update was to one from master branch,
which resulted in one more broken test.
10 years ago
Alex Kocharin
f7edb05ef8
Forbid nested brackets in references
This applies to footnotes/abbrs as well, because they are
designed to be implemented in the similar way.
10 years ago
Vitaly Puzrin
2a9218cf60
Updated line breaks rendering logic
10 years ago
Alex Kocharin
e12d5cbdad
Allow sequence of 4+ markers in emphases
In old CommonMark spec they were always parsed literally.
10 years ago
Alex Kocharin
ac083563d7
update CommonMark fixtures to 0.13
10 years ago
Vitaly Puzrin
f54ea502ee
Updated heading for new spec
10 years ago
Alex Kocharin
448dbbd723
Update CommonMark spec to 0.7
10 years ago
Alex Kocharin
e7c60e1a01
Fix fences rule
closing fence should not be indented more than 3 spaces
10 years ago
Alex Kocharin
842bf70513
Update CommonMark spec and fixtures
10 years ago
Vitaly Puzrin
d937eec5f3
Renamed stmd -> commonmark
10 years ago