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 |
Denis Sokolov
|
9e417ea2b1
|
Readme: fix typo in highlight option (b27c6308 )
|
10 years ago |
jonschlinkert
|
1893f3271f
|
edits to readme. fixes typos in code comments.
|
10 years ago |
Vitaly Puzrin
|
220efa32e8
|
updated eslint to 9.1 & did appropriate changes in sources
|
10 years ago |
Vitaly Puzrin
|
0cf8b0f362
|
StateBlock() cleanup
|
10 years ago |
Vitaly Puzrin
|
fbdcf4a595
|
grammar/typo fixes (manually imported from #65)
|
10 years ago |
Vitaly Puzrin
|
54990dd7c5
|
Updated inline text scan logic
|
10 years ago |
Vitaly Puzrin
|
8cacac58ad
|
Don't recreate links buffer in linkifier
|
10 years ago |
Vitaly Puzrin
|
4d7c3a717d
|
Perf: smartquotes logic cleanup
|
10 years ago |
Vitaly Puzrin
|
94871401b8
|
Perf: tweaked typorgapher checks
|
10 years ago |
Vitaly Puzrin
|
91454dcafa
|
Perf: fixed speed regression by linkifier
|
10 years ago |
Vitaly Puzrin
|
1e65876d7b
|
Fixed prev commit
|
10 years ago |
Vitaly Puzrin
|
6c3ba9eb99
|
Perf: md unescaping opt
|
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
|
bc7b8e2f89
|
Perf: regex opts
|
10 years ago |
Vitaly Puzrin
|
e259c99183
|
Fixed error in prev commit
|
10 years ago |
Vitaly Puzrin
|
c45c345c6b
|
Perf: optimized html escape helper
|
10 years ago |
Vitaly Puzrin
|
d937eec5f3
|
Renamed stmd -> commonmark
|
10 years ago |
Vitaly Puzrin
|
0411b14cf5
|
Added <mark> support
|
10 years ago |
Vitaly Puzrin
|
710a62f1d5
|
Added <ins> support
|
10 years ago |
Vitaly Puzrin
|
a4afaa4ccb
|
Freeze default rules set (~ equal to GFM). Added `full` preset to enable everything.
|
10 years ago |
Vitaly Puzrin
|
a0691ac720
|
Exposed `configure()` method
|
10 years ago |
Vitaly Puzrin
|
0e4767711d
|
Don't restrict rules by default
|
10 years ago |
Vitaly Puzrin
|
9b87c99abc
|
Reorganized parser configuration
|
10 years ago |
Vitaly Puzrin
|
0930235149
|
reorganized files
|
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
|
0d22001900
|
more fixes in link protocols check
|
10 years ago |
Vitaly Puzrin
|
d6b5c03d1f
|
Improved prohibited protocols check in links
|
10 years ago |
Vitaly Puzrin
|
2ef8825a7f
|
Moved tight paragraphs marking to separate fn
|
10 years ago |
Vitaly Puzrin
|
6ce8e1b61d
|
Perf: improved inlines cache logic
|
10 years ago |
Vitaly Puzrin
|
719d4c1888
|
Linkify fix. Closes #51
|
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
|
ab00db7c24
|
Fixed `Ruler.after()` method
|
10 years ago |
Vitaly Puzrin
|
d5c588b130
|
Simplified loose/tight logic. Closes #50
|
10 years ago |
Vitaly Puzrin
|
2cc37e20d0
|
Splitted .render() methods to simplify monkeypatching
|
10 years ago |
Vitaly Puzrin
|
bf1016510b
|
typo fix
|
10 years ago |
Vitaly Puzrin
|
0e8d9bec18
|
reordered StateInline properties
|
10 years ago |
Alex Kocharin
|
065eba8bda
|
Add "lines" attribute to all block-level tokens
(except for the closing ones)
|
10 years ago |
Vitaly Puzrin
|
07a5bf5c7f
|
listMode -> parentType
|
10 years ago |
Vitaly Puzrin
|
7ea9c2cffb
|
StateBlock cleanup
|
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 |