Vitaly Puzrin
|
c9199b582d
|
Better error message for bad input type, close #324
|
8 years ago |
Alex Kocharin
|
f5a06ec0b6
|
Make link/image/reference helpers overridable
|
8 years ago |
Sean Lang
|
86eea8c1d3
|
fix misspelling of "parser"
|
9 years ago |
Vitaly Puzrin
|
c6d6709c63
|
Demo: updated highlighter options for explicit langs
|
9 years ago |
Vitaly Puzrin
|
6d4f8a0b88
|
typo fix
|
9 years ago |
Vitaly Puzrin
|
6371151253
|
Doc fix
|
9 years ago |
Vitaly Puzrin
|
87ece24ff9
|
Allow full content override from highlighter
|
9 years ago |
Alex Kocharin
|
378ac9074e
|
Change emphasis parsing algorithm
Tokenize first, and replace tokens with emphasis tags on
a second pass using an algorithm close to one used in CM.
|
9 years ago |
Thomas Reggi
|
7a888ec9a2
|
typo for for*
|
9 years ago |
Vitaly Puzrin
|
bf424c8a49
|
deps update, configs & code cleanup
|
10 years ago |
Alex Kocharin
|
a7b2b3b4e8
|
Add multichar replacements in smartquotes
fix #115
|
10 years ago |
Vitaly Puzrin
|
2bc103844c
|
lint fix
|
10 years ago |
Vitaly Puzrin
|
cec9d91e3e
|
Clarified info about default disabled link schemas
|
10 years ago |
Vitaly Puzrin
|
e92f99640f
|
Added security info
|
10 years ago |
Vitaly Puzrin
|
6c57f7f792
|
Fixed regexes in prev commit (should match strings from the start only)
|
10 years ago |
Vitaly Puzrin
|
0db98f7b4a
|
Simplified links validator - use regexes
|
10 years ago |
Vitaly Puzrin
|
f76d3beb46
|
Disabled data URIs (allow only some whitelisted images)
|
10 years ago |
Alex Kocharin
|
b91a56dac2
|
Fix ndoc comments
|
10 years ago |
Alex Kocharin
|
b05bfd6e8b
|
Punycode domain names only in known schemas
In urls like `skype:XXX` it prevents XXX to be parsed as domain
name and encoded with punycode.
|
10 years ago |
Alex Kocharin
|
2a66fb8fbf
|
Remove replaceEntities from validateLink
Entities will usually be replaced with unescapeAll before they
go through the validator.
|
10 years ago |
Alex Kocharin
|
7037ee34ad
|
Add tests for normalization functions
|
10 years ago |
Alex Kocharin
|
77e8b6cad0
|
Add configurable url normalizers
- md.normalizeLink
- md.normalizeLinkText
|
10 years ago |
Vitaly Puzrin
|
18d80c6f0b
|
Moved validateLink() to root class
|
10 years ago |
Vitaly Puzrin
|
e4b59586b6
|
Doc fix, closes #64
|
10 years ago |
Vitaly Puzrin
|
9159018e2a
|
Replaced `autolinker` with `linkify-it`, closes #2
|
10 years ago |
Vitaly Puzrin
|
c30054fc3a
|
Improved preset name error reporting
|
10 years ago |
Vitaly Puzrin
|
0c7086f51f
|
changelog & apidoc update
|
10 years ago |
Vitaly Puzrin
|
9783b530db
|
Added to top enable/disable methods & errors throw
|
10 years ago |
Vitaly Puzrin
|
79b11bc564
|
Removed 'full' preset - not needed anymore
|
10 years ago |
Vitaly Puzrin
|
a66e29f8d0
|
Place md link to states and remove other aliases
|
10 years ago |
Vitaly Puzrin
|
b72c838269
|
docs update
|
10 years ago |
Vitaly Puzrin
|
f6b926b11b
|
Pass any number of options to plugin
|
10 years ago |
Vitaly Puzrin
|
0beeb57379
|
More cross references in doc
|
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 |
Vitaly Puzrin
|
958308a3b0
|
Added `zero` preset. Related to #12
|
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
|
97ad361a78
|
Renamed presets folder
|
10 years ago |
Vitaly Puzrin
|
9afffbaefd
|
Changed project name, links, attribution & updated constructor call
|
10 years ago |
Vitaly Puzrin
|
d2309e0917
|
Exposed helpers to simplify custom renderers
|
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
|
615d8cdb8a
|
Added inlineRender & inlineParse methods
|
10 years ago |
Vitaly Puzrin
|
d5683371b3
|
Added emails autolinking and improved tests coverage
|
10 years ago |