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
|
8cd6fc34c4
|
Fix quadratic compexity on backticks
close https://github.com/markdown-it/markdown-it/issues/736
|
4 years ago |
Alex Kocharin
|
fece91e265
|
Fix backtick algorithm
now it more closely matches one in `cmark`
|
4 years ago |
Alex Kocharin
|
1e8aff0084
|
Fix quadratic time on backticks
This commit adds a cache `StateInline->backticks` which remembers
positions for every possible backtick closer (`, ``, ```, etc.).
Algorithm is similar to one described here:
685b714453
close https://github.com/markdown-it/markdown-it/issues/733
|
4 years ago |
Vitaly Puzrin
|
c36309ef1c
|
Bump eslint & update CS
|
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
|
bb4dcf48f4
|
Set token.markup whereever appropriate
|
10 years ago |
Alex Kocharin
|
4aabd5592e
|
Use a common class for tokens
|
10 years ago |
Vitaly Puzrin
|
cda6c513b6
|
backtick -> backticks (revert)
|
10 years ago |
Vitaly Puzrin
|
90e5a9c9cc
|
Bulk rules rename (unify)
|
10 years ago |
Vitaly Puzrin
|
671fd4f3ed
|
eslint rules & coding style update
|
10 years ago |
Vitaly Puzrin
|
220efa32e8
|
updated eslint to 9.1 & did appropriate changes in sources
|
10 years ago |
Alex Kocharin
|
5d772b9bb6
|
Add validation mode to all inline rules
|
10 years ago |
Vitaly Puzrin
|
199976d09e
|
parse backticks without regex exec
|
10 years ago |
Alex Kocharin
|
0453b72bf1
|
Rename "lexer" to "parser"
and move rules from lexer_* to rules_*
|
10 years ago |
Alex Kocharin
|
46dc1f93ac
|
Add state.level everywhere
|
10 years ago |
Vitaly Puzrin
|
172e77c318
|
Added backticks parse
|
10 years ago |