Vitaly Puzrin
|
958308a3b0
|
Added `zero` preset. Related to #12
|
10 years ago |
Vitaly Puzrin
|
d8c1b1f7d6
|
Strip NULL characters, according to new spec
|
10 years ago |
Alex Kocharin
|
0c0917048c
|
Allow sequence of 4+ markers in pairs
|
10 years ago |
Alex Kocharin
|
f7edb05ef8
|
Forbid nested brackets in references
This applies to footnotes/abbrs as well, because they are
designed to be implemented in the similar way.
|
10 years ago |
Vitaly Puzrin
|
2a9218cf60
|
Updated line breaks rendering logic
|
10 years ago |
Alex Kocharin
|
e12d5cbdad
|
Allow sequence of 4+ markers in emphases
In old CommonMark spec they were always parsed literally.
|
10 years ago |
Vitaly Puzrin
|
fc0a5be2fa
|
Curring for set/configure/enable/disable
|
10 years ago |
Vitaly Puzrin
|
a5a04532df
|
Both helpers & utils are not in each instance of main parser
|
10 years ago |
Vitaly Puzrin
|
4a34e7b742
|
Moved array element subst to utils
|
10 years ago |
Vitaly Puzrin
|
abaf1e3553
|
Added bulk enable/disable sugar
|
10 years ago |
Vitaly Puzrin
|
aea94c4e32
|
Separated enable by whitelist method
|
10 years ago |
Vitaly Puzrin
|
8a67cb3a83
|
Do browserified output ascii-friendly
|
10 years ago |
Vitaly Puzrin
|
97ad361a78
|
Renamed presets folder
|
10 years ago |
Vitaly Puzrin
|
9afffbaefd
|
Changed project name, links, attribution & updated constructor call
|
10 years ago |
Vitaly Puzrin
|
eb3b34be9c
|
Renamed private Ruler() properties. Closes #119.
|
10 years ago |
Alex Kocharin
|
19e1aa28ea
|
use .toUpperCase() for link normalization
because __proto__ has magic and __PROTO__ doesn't
+ comments for the rest of ':' stuff
|
10 years ago |
Vitaly Puzrin
|
671fd4f3ed
|
eslint rules & coding style update
|
10 years ago |
Alex Kocharin
|
1ff69abeba
|
Fix arbitrary keys in refs/footnotes/abbrs
|
10 years ago |
Vitaly Puzrin
|
761947f2fb
|
More safe properties check
|
10 years ago |
Vitaly Puzrin
|
d2494796ce
|
Updated footnotes layout/styles
|
10 years ago |
Alex Kocharin
|
4649deb59b
|
Deduplicate footnotes
|
10 years ago |
Alex Kocharin
|
32423dbac5
|
Fix text after inline footnotes
|
10 years ago |
Vitaly Puzrin
|
dc960ed60a
|
Added extension to renderer
|
10 years ago |
Vitaly Puzrin
|
d2309e0917
|
Exposed helpers to simplify custom renderers
|
10 years ago |
Vitaly Puzrin
|
9c436cebc1
|
Moved html escape helper to utils
|
10 years ago |
Vitaly Puzrin
|
4bbbffcb77
|
Footnotes: updated docs & defaults
|
10 years ago |
Alex Kocharin
|
3f16868edd
|
Add definition lists
|
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 |
Alex Kocharin
|
d54ed887f4
|
Normalize links before they hit renderer
|
10 years ago |
Vitaly Puzrin
|
f8e270f6e0
|
Added renderer rules rewrite test
|
10 years ago |
Vitaly Puzrin
|
47432ce76e
|
Updated renderer signatures (pass env)
|
10 years ago |
loveencounterflow
|
6cc4662035
|
rules must reference this.rules in renderInline
|
10 years ago |
Vitaly Puzrin
|
26a22b182a
|
Fixed replaceEntities, default preset, improved coverage
|
10 years ago |
Vitaly Puzrin
|
2af5f87f02
|
Removed unnecessary conditions
|
10 years ago |
Vitaly Puzrin
|
0c26266918
|
Don't modify env in inline mode
|
10 years ago |
Vitaly Puzrin
|
c70700151a
|
Updated parsers API - don't rewrite token arrays in StateCore
|
10 years ago |
Vitaly Puzrin
|
35063086ba
|
Moved link parse functions to helpers
|
10 years ago |
Vitaly Puzrin
|
d917047d32
|
Removed unnecessary conditions
|
10 years ago |
Vitaly Puzrin
|
054ff554f5
|
Improved coverage and removed unused code
|
10 years ago |
Vitaly Puzrin
|
2058ae5458
|
Added highlight test
|
10 years ago |
Vitaly Puzrin
|
e0765a9d04
|
Optimized typographer replacements
|
10 years ago |
Vitaly Puzrin
|
22946cf048
|
updated default preset
|
10 years ago |
Vitaly Puzrin
|
b00858f795
|
docs update
|
10 years ago |
Alex Kocharin
|
2c286f5aed
|
Add abbreviations
|
10 years ago |
Vitaly Puzrin
|
615d8cdb8a
|
Added inlineRender & inlineParse methods
|
10 years ago |
Vitaly Puzrin
|
d5683371b3
|
Added emails autolinking and improved tests coverage
|
10 years ago |
Vitaly Puzrin
|
0de39dc5b7
|
Coverage improve
|
10 years ago |
Vitaly Puzrin
|
86f416da60
|
Removed orphaned files
|
10 years ago |
Vitaly Puzrin
|
cb3b762958
|
Docs update
|
10 years ago |