Vitaly Puzrin
|
54990dd7c5
|
Updated inline text scan logic
|
10 years ago |
Vitaly Puzrin
|
1e65876d7b
|
Fixed prev commit
|
10 years ago |
Vitaly Puzrin
|
6c3ba9eb99
|
Perf: md unescaping opt
|
10 years ago |
Vitaly Puzrin
|
8f909bcf33
|
Moved HTML escaping to renderer
|
10 years ago |
Vitaly Puzrin
|
0411b14cf5
|
Added <mark> support
|
10 years ago |
Vitaly Puzrin
|
710a62f1d5
|
Added <ins> support
|
10 years ago |
Vitaly Puzrin
|
f15fa5ed23
|
Renamed back `strikethrough` to `del`
|
10 years ago |
Alex Kocharin
|
1676e10ee8
|
Fix performance when nested token doesn't match
close #53
|
10 years ago |
Alex Kocharin
|
c9adb050e0
|
Preserve initial position in links
fix #55
|
10 years ago |
Vitaly Puzrin
|
6ce8e1b61d
|
Perf: improved inlines cache logic
|
10 years ago |
Vitaly Puzrin
|
2040c4f02e
|
StateInline props rename
|
10 years ago |
Alex Kocharin
|
ba2463f2f5
|
Remove dead code in em/del
|
10 years ago |
Alex Kocharin
|
f74bbf2515
|
Tweak emphasis parsing algorithm
In the case of intersecting tags (e. g. "*foo _bar* baz_") last
complete tag should have a priority.
|
10 years ago |
Alex Kocharin
|
5d772b9bb6
|
Add validation mode to all inline rules
|
10 years ago |
Vitaly Puzrin
|
bf1016510b
|
typo fix
|
10 years ago |
Vitaly Puzrin
|
0e8d9bec18
|
reordered StateInline properties
|
10 years ago |
Alex Kocharin
|
7abfb2718c
|
Treat newline as a whitespace in em and del
|
10 years ago |
Alex Kocharin
|
5a73b286b6
|
Update emphasis rule to the latest CommonMark spec
|
10 years ago |
Vitaly Puzrin
|
199976d09e
|
parse backticks without regex exec
|
10 years ago |
Vitaly Puzrin
|
b185148117
|
Cleanup
|
10 years ago |
Vitaly Puzrin
|
6a05b0674c
|
Simplified StateInline
|
10 years ago |
Vitaly Puzrin
|
9fbeb5a6ec
|
Perf: escaping
|
10 years ago |
Vitaly Puzrin
|
5bd71f91a7
|
Moved state helpers to State* classes
|
10 years ago |
Vitaly Puzrin
|
0e3e1171e6
|
Moved string helpers to utilities
|
10 years ago |
Vitaly Puzrin
|
81778ecdba
|
Added hook to validate links
|
10 years ago |
Vitaly Puzrin
|
92d9fde585
|
del -> strikethrough
|
10 years ago |
Alex Kocharin
|
6d4538910c
|
Forbid nested reference links
|
10 years ago |
Alex Kocharin
|
16c34161a5
|
Optimize backtracking in links
|
10 years ago |
Vitaly Puzrin
|
b27c630815
|
Code structure and options refactoring
|
10 years ago |
Alex Kocharin
|
9942fd5b4b
|
Add strikeout (del) tag
+ trivial emphasis bugfix
|
10 years ago |
Vitaly Puzrin
|
892460ed0b
|
Options rename
|
10 years ago |
Alex Kocharin
|
0705173c87
|
Move link helpers to it's own file
+ return value of parseLink* functions in the state
|
10 years ago |
Alex Kocharin
|
bbac451a42
|
Trivial bugfix in the links rule
|
10 years ago |
Alex Kocharin
|
9aea37acc1
|
Limit element depth
|
10 years ago |
Alex Kocharin
|
0453b72bf1
|
Rename "lexer" to "parser"
and move rules from lexer_* to rules_*
|
10 years ago |