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 |
Alex Kocharin
|
46402a32b4
|
Replace bqMarks logic with negative tShift
|
10 years ago |
Vitaly Puzrin
|
199976d09e
|
parse backticks without regex exec
|
10 years ago |
Vitaly Puzrin
|
6db093844b
|
Avoid shadow copy for inline containers
|
10 years ago |
Vitaly Puzrin
|
105a06ceca
|
Fixed linkify option
|
10 years ago |
Vitaly Puzrin
|
190a8563ab
|
Perf: optimized html block names lookup
|
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
|
5512f9cdcd
|
Deopts: fixed tables
|
10 years ago |
Vitaly Puzrin
|
1fde848a41
|
Fixed deopts
|
10 years ago |
Vitaly Puzrin
|
a48454b99a
|
Clarified comments
|
10 years ago |
Vitaly Puzrin
|
637968d55e
|
Removed eslint warning
|
10 years ago |
Alex Kocharin
|
a4bae74995
|
Add rule to replace quotes with typographic ones
|
10 years ago |
Vitaly Puzrin
|
13db2bd996
|
Don't linkify content of html <a> tags
|
10 years ago |
Vitaly Puzrin
|
5412189997
|
Don't add tabs to tables markup
|
10 years ago |
Vitaly Puzrin
|
cf1089e5ff
|
Docs update
|
10 years ago |