Alex Kocharin
946b1a1961
Take into account adjacent tokens in smartquotes
close https://github.com/markdown-it/markdown-it/issues/181
9 years ago
Alex Kocharin
a7b2b3b4e8
Add multichar replacements in smartquotes
fix #115
10 years ago
Alex Kocharin
e91574c391
Smartquote rule cleanup
10 years ago
Alex Kocharin
3ba6f8b6d2
Tweak scanDelims algorithm
- explicitly set nextChar and lastChar to 0x20 at the begin/end of line
- `_` between punctuation characters can now close an emphasis, see:
https://github.com/jgm/commonmark.js/issues/12#issuecomment-77421682
- `"` between punctuation characters can now be a closed quote
in smartquotes rule.
10 years ago
Vitaly Puzrin
9ae876b0fe
Splitted replacements & smartquotes to smaller functions
10 years ago
Vitaly Puzrin
00117cb2e7
Changes to improve speed on node 0.12 & iojs
10 years ago
Alex Kocharin
552c130b21
Improve smartquotes handling
Use implementation similar to the new emphasis one.
10 years ago
Vitaly Puzrin
a66e29f8d0
Place md link to states and remove other aliases
10 years ago
Vitaly Puzrin
8a67cb3a83
Do browserified output ascii-friendly
10 years ago
Vitaly Puzrin
14c2e920fd
Nuked typographer class, separated core chain class
10 years ago
Vitaly Puzrin
8294a63f8c
Moved scans from typorgapher directly to rules
10 years ago
Alex Kocharin
d39417e100
Added a core chain
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
8f909bcf33
Moved HTML escaping to renderer
10 years ago
Vitaly Puzrin
0930235149
reorganized files
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