Alex Kocharin
|
19e1aa28ea
|
use .toUpperCase() for link normalization
because __proto__ has magic and __PROTO__ doesn't
+ comments for the rest of ':' stuff
|
10 years ago |
Vitaly Puzrin
|
671fd4f3ed
|
eslint rules & coding style update
|
10 years ago |
Alex Kocharin
|
1ff69abeba
|
Fix arbitrary keys in refs/footnotes/abbrs
|
10 years ago |
Vitaly Puzrin
|
761947f2fb
|
More safe properties check
|
10 years ago |
Alex Kocharin
|
4649deb59b
|
Deduplicate footnotes
|
10 years ago |
Alex Kocharin
|
32423dbac5
|
Fix text after inline footnotes
|
10 years ago |
Alex Kocharin
|
faae7485b7
|
Add footnote rules
|
10 years ago |
Alex Kocharin
|
d54ed887f4
|
Normalize links before they hit renderer
|
10 years ago |
Vitaly Puzrin
|
c70700151a
|
Updated parsers API - don't rewrite token arrays in StateCore
|
10 years ago |
Vitaly Puzrin
|
35063086ba
|
Moved link parse functions to helpers
|
10 years ago |
Vitaly Puzrin
|
460ba580ee
|
perf: optimized text scans
|
10 years ago |
Alex Kocharin
|
74602dba90
|
Fix spaces in subscript and superscript
|
10 years ago |
Alex Kocharin
|
d5e8e61b6b
|
Check validation flag instead of hardcoding rules
|
10 years ago |
Alex Kocharin
|
f28ab537e4
|
Fix subscript and superscript rules
|
10 years ago |
Alex Kocharin
|
3b785a0bfa
|
Add subscript and superscript
|
10 years ago |
Alex Kocharin
|
666e94a47a
|
Change priority for all pairs
`**foo __bar** baz__` is now parsed as `<strong>foo __bar</strong> baz__`
|
10 years ago |
Peter deHaan
|
a519ef26c4
|
Fix typo
|
10 years ago |
Peter deHaan
|
fdb868d815
|
FIx typo
|
10 years ago |
Vitaly Puzrin
|
220efa32e8
|
updated eslint to 9.1 & did appropriate changes in sources
|
10 years ago |
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 |