Vitaly Puzrin
|
e92e776411
|
Rewrite core to es6 modules
|
1 year ago |
Alex Kocharin
|
1529ff4944
|
Guard against custom rule not incrementing pos
|
3 years ago |
Alex Kocharin
|
6b58ec4245
|
Add linkifier rule to inline chain for full links
prevents emphasis from appearing in `http://example.org/foo._bar_.baz`
|
3 years ago |
Alex Kocharin
|
75037c6514
|
Put escape sequences into separate token
|
3 years ago |
Alex Kocharin
|
53aec24168
|
Improve performance in `skipToken` when maxNesting is exceeded
|
9 years ago |
Alex Kocharin
|
de4abb573c
|
Fix "too much recursion" error in links
|
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 |
Vitaly Puzrin
|
00117cb2e7
|
Changes to improve speed on node 0.12 & iojs
|
10 years ago |
Vitaly Puzrin
|
18d80c6f0b
|
Moved validateLink() to root class
|
10 years ago |
Vitaly Puzrin
|
1d4150e711
|
Istanbul: ignore uncoverable condition
|
10 years ago |
opennota
|
7da4d5e81b
|
validateLink: expand entities before trimming and lowercasing
|
10 years ago |
Alex Kocharin
|
096f0fbb89
|
Fix maxNesting + tests
|
10 years ago |
Vitaly Puzrin
|
cda6c513b6
|
backtick -> backticks (revert)
|
10 years ago |
Vitaly Puzrin
|
2090fd4998
|
del -> strikethrough
|
10 years ago |
Vitaly Puzrin
|
90e5a9c9cc
|
Bulk rules rename (unify)
|
10 years ago |
Vitaly Puzrin
|
57d56c43fb
|
Removed footnote rules (move to plugin)
|
10 years ago |
Alex Kocharin
|
6497e9a80f
|
Split links rule to link+image
|
10 years ago |
Vitaly Puzrin
|
2c433e10a0
|
Moved ins/mark/sub/sup to plugins
|
10 years ago |
Vitaly Puzrin
|
e72603af70
|
Moved nesting check from rules to upper level
|
10 years ago |
Vitaly Puzrin
|
96a1c73405
|
typo fixes
|
10 years ago |
Vitaly Puzrin
|
a66e29f8d0
|
Place md link to states and remove other aliases
|
10 years ago |
Vitaly Puzrin
|
3f353603eb
|
Core, ParseBlock, ParseInline minimal docs & minor fixes
|
10 years ago |
Alex Kocharin
|
faae7485b7
|
Add footnote rules
|
10 years ago |
Vitaly Puzrin
|
7f7260d021
|
Better error handling in link normalizer + more tests for edge cases
|
10 years ago |
Vitaly Puzrin
|
c70700151a
|
Updated parsers API - don't rewrite token arrays in StateCore
|
10 years ago |
Vitaly Puzrin
|
054ff554f5
|
Improved coverage and removed unused code
|
10 years ago |
Alex Kocharin
|
d39417e100
|
Added a core chain
|
10 years ago |
Vitaly Puzrin
|
460ba580ee
|
perf: optimized text scans
|
10 years ago |
Vitaly Puzrin
|
2b741deb18
|
Isolated rules management & rules cache build
|
10 years ago |
Vitaly Puzrin
|
06fe4b9e53
|
Fixed fuckup on minification mangling, related to #89
|
10 years ago |
Alex Kocharin
|
d5e8e61b6b
|
Check validation flag instead of hardcoding 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 |
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
|
2429443201
|
Updated list of text terminator chars
|
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 |
Vitaly Puzrin
|
0d22001900
|
more fixes in link protocols check
|
10 years ago |
Vitaly Puzrin
|
d6b5c03d1f
|
Improved prohibited protocols check in links
|
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
|
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
|
81778ecdba
|
Added hook to validate links
|
10 years ago |
Vitaly Puzrin
|
92d9fde585
|
del -> strikethrough
|
10 years ago |
Vitaly Puzrin
|
b27c630815
|
Code structure and options refactoring
|
10 years ago |