Vitaly Puzrin
|
8b815a6072
|
lint: reduce empty lines
|
1 year ago |
Vitaly Puzrin
|
efc714f702
|
standard: more tweaks & simplify eslint config
|
1 year ago |
Vitaly Puzrin
|
7dfcf69b71
|
standard: no spaces near array brackets
|
1 year ago |
Vitaly Puzrin
|
0eb4cb96a4
|
standard: space before function params
|
1 year ago |
Vitaly Puzrin
|
d0219010ad
|
standard: remove semi
|
1 year ago |
Vitaly Puzrin
|
88b8669c46
|
var => const, let
|
1 year ago |
Vitaly Puzrin
|
e92e776411
|
Rewrite core to es6 modules
|
1 year ago |
Alex Kocharin
|
6325878f9f
|
Multiple refactors
removed unused and duplicated variables
|
3 years ago |
Alex Kocharin
|
24abaa51a6
|
Improve emphasis algorithm
This fixes quadratic complexity in `**<...>**a**<...>**`
pathological case.
|
3 years ago |
Alex Kocharin
|
eed156e9cd
|
Fix emphasis algorithm as per 0.30 spec
https://github.com/commonmark/cmark/issues/383
|
4 years ago |
Alex Kocharin
|
c9dd942246
|
Fix crash when processing strikethrough
close https://github.com/markdown-it/markdown-it/issues/742
|
4 years ago |
Alex Kocharin
|
83b05755db
|
Fix quadratic time on emphasis
close https://github.com/markdown-it/markdown-it/issues/735
|
4 years ago |
ocavue
|
b979ca01d5
|
fix: remove unused comparison code
|
4 years ago |
Alex Kocharin
|
07a62c6c75
|
Move nested delimiter info to opening token instead of inline state
|
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
|
6 years ago |
Alex Kocharin
|
f07d3862ff
|
Implement odd matching rules for emphasis
|
8 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 |