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 |
Vitaly Puzrin
|
1342db2d96
|
Added typographer draft
|
10 years ago |
Alex Kocharin
|
9942fd5b4b
|
Add strikeout (del) tag
+ trivial emphasis bugfix
|
10 years ago |
Vitaly Puzrin
|
7a13199f6d
|
Moved rules manager to separate class (inline parser)
|
10 years ago |
Alex Kocharin
|
0453b72bf1
|
Rename "lexer" to "parser"
and move rules from lexer_* to rules_*
|
10 years ago |
Alex Kocharin
|
c8fa672cec
|
Move parse_reference to its own file
+ change its signature
|
10 years ago |
Vitaly Puzrin
|
58f2b8c37e
|
Added syntax highlight support for fenced blocks
|
10 years ago |