Vitaly Puzrin
|
f6b926b11b
|
Pass any number of options to plugin
|
10 years ago |
Vitaly Puzrin
|
56001200c0
|
Added link target attribute support for plugins
|
10 years ago |
Vitaly Puzrin
|
c6807cf2b4
|
Fixed line breaks in deflist
|
10 years ago |
Alex Kocharin
|
ea62dda30b
|
Remove state.linkLevel
It's redundant after the changes in links algorithm.
|
10 years ago |
Alex Kocharin
|
1d07999279
|
Avoid crash in links when references are disabled
|
10 years ago |
Alex Kocharin
|
08f2d3eb4d
|
Forbid nested links, prefer inner one
|
10 years ago |
Vitaly Puzrin
|
0beeb57379
|
More cross references in doc
|
10 years ago |
Vitaly Puzrin
|
3f353603eb
|
Core, ParseBlock, ParseInline minimal docs & minor fixes
|
10 years ago |
Vitaly Puzrin
|
27ace2d89e
|
Readme cleanup - refer to API docs where possible
|
10 years ago |
Vitaly Puzrin
|
96402b5e7b
|
apidoc: docs update + Renderer info
|
10 years ago |
Vitaly Puzrin
|
193e94cb61
|
apidocs: updates + added Ruler docs
|
10 years ago |
Vitaly Puzrin
|
a2bc2d2a67
|
Added main class api doc
|
10 years ago |
Alex Kocharin
|
8470c1cae8
|
Fix an issue with links skipping space after them
|
10 years ago |
Alex Kocharin
|
d7221761fb
|
Render image labels as text
|
10 years ago |
Vitaly Puzrin
|
8b3f29df82
|
Fixed termination rules check when rules disabled, closes #13
|
10 years ago |
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 |