Alex Kocharin
f798bea962
Allow opening quote after another punctuation char in typographer
close https://github.com/markdown-it/markdown-it/issues/643
5 years ago
Alex Kocharin
3c427f921e
Fix em- and en-dashes not being typographed when separated by 1 char
close https://github.com/markdown-it/markdown-it/issues/624
5 years ago
Alex Kocharin
07a62c6c75
Move nested delimiter info to opening token instead of inline state
5 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
6 years ago
Alex Kocharin
7421ecce67
Improve normalization for reference label matching
Simple toUpperCase() does not work for various ligatures and legacy
characters that are already in a different upper case form.
See also:
278ea515fe
6 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
6 years ago
Alex Kocharin
02a2605e84
Reduce maximum length for numeric html entities
This is no longer recognized as an entity, according to commonmark 0.29 tests:
�
See also:
026ca8234b
6 years ago
Alex Kocharin
7997fdadcd
Apply special rules for collapsing whitespace inside code blocks
Change as per commonmark 0.29 spec
See also:
e121b4e301
6 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
6 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
6 years ago
Alex Kocharin
106ea4b6d0
Update CommonMark spec to 0.29
fix https://github.com/markdown-it/markdown-it/issues/553
6 years ago
Alex Kocharin
04d36a3f1a
Fix smartquotes around softbreaks
close https://github.com/markdown-it/markdown-it/issues/430
7 years ago
Alex Kocharin
2959f8c27c
Update CommonMark spec to 0.28
7 years ago
Alex Kocharin
a733ffa8b6
Fix blockquote termination inside lists
close https://github.com/markdown-it/markdown-it/issues/386
7 years ago
Alex Kocharin
c57f593b23
Fix blockquote termination by list item
close https://github.com/markdown-it/markdown-it/issues/338
8 years ago
Alex Kocharin
f0e7e562ea
Fix blockquote termination inside indented lists
close https://github.com/markdown-it/markdown-it/issues/329
8 years ago
Alex Kocharin
dc1c392a4d
Remove tabs at the beginning of the line in paragraphs
8 years ago
Alex Kocharin
d29f421927
Fix table indentation issues
close https://github.com/markdown-it/markdown-it/issues/325
reverts https://github.com/markdown-it/markdown-it/pull/224
8 years ago
Alex Kocharin
787fe39e8f
Update CommonMark spec to 0.27
8 years ago
Alex Kocharin
9eb2a26005
Fix backtick handling inside tables
Fix https://github.com/markdown-it/markdown-it/issues/303
8 years ago
Alex Kocharin
93544ee4bf
Fenced code block info string should not contain fence marker
Fix https://github.com/markdown-it/markdown-it/issues/301
8 years ago
Alex Kocharin
1bb254b879
Allow tabs inside GFM tables
8 years ago
Alex Kocharin
7a053ef4c5
Fix tab behavior inside blockquotes
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
9335394a99
Disable replacements inside autolinks
close https://github.com/markdown-it/markdown-it/issues/272
8 years ago
Christopher Breeden
a2b7b8e156
Fixes #246 , HTML Escaping alt-tag twice.
9 years ago
Sean Lang
10d6448b22
support tables with missing values
(and add supporting test case)
9 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
a18ddc0223
Loosen table rules
1. allow one-column tables
2. allow mismatched column count
close https://github.com/markdown-it/markdown-it/issues/171
9 years ago
Alex Kocharin
946b1a1961
Take into account adjacent tokens in smartquotes
close https://github.com/markdown-it/markdown-it/issues/181
9 years ago
Alex Kocharin
0318337a3d
Bump table priority before code blocks
ref https://github.com/markdown-it/markdown-it/issues/120
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
10 years ago
Alex Kocharin
02c04be9e5
Fix reference edge-case
10 years ago
Alex Kocharin
b2ea95dcb2
Update CommonMark spec to 0.21
10 years ago
Alex Kocharin
909f79e62e
Bring ordered list markers up to spec
10 years ago
Alex Kocharin
954e156848
Allow numbered lists starting from zero
Fixes: https://github.com/markdown-it/markdown-it/issues/129
10 years ago
Alex Kocharin
019bbda5f5
Fix class injection in fence renderer
Close https://github.com/markdown-it/markdown-it/issues/128
10 years ago
Alex Kocharin
7b961ee1ef
Update CommonMark spec to 0.20
10 years ago
Alex Kocharin
c5ee94aaf6
Fix skipLastLF handling in getLines
fix #116
10 years ago
Alex Kocharin
d292f72b69
Add/fix indentation checking in blockquotes
fix #111
10 years ago
Alex Kocharin
7cd639ed39
Update CommonMark spec to 0.19
10 years ago