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
Vitaly Puzrin
f7976b25f7
Added link to ruby/rubymotion port
10 years ago
Vitaly Puzrin
f530f2ff75
4.0.3 released
10 years ago
Vitaly Puzrin
20ac8cb74c
Browser files rebuild
10 years ago
Vitaly Puzrin
cc87145842
Regex workagound for phantomjs, related to #77
10 years ago
Alex Kocharin
e91574c391
Smartquote rule cleanup
10 years ago
Vitaly Puzrin
1c9c17799e
Bumped linkify-it dependency
10 years ago
Vitaly Puzrin
12b60c6964
4.0.2 released
10 years ago
Vitaly Puzrin
a83aaa82a4
Browser files rebuild
10 years ago
Vitaly Puzrin
d4fe12a6ec
Fixed html block tags with numbers in name, closes #74
10 years ago
Vitaly Puzrin
0cd5729769
Dev docs examples update to v4 chandes
10 years ago
Vitaly Puzrin
45773e223d
Renderer cleanup
10 years ago
Vitaly Puzrin
73599e022b
Fixed emphasis closing token marker, closes #69
10 years ago
Vitaly Puzrin
e7af95c3f0
lint fix
10 years ago
Vitaly Puzrin
796f1cf115
Benchmarks update
10 years ago
Vitaly Puzrin
908c565fd7
Travis: use docker containers (start faster)
10 years ago
Vitaly Puzrin
7bd5221673
4.0.1 released
10 years ago
Vitaly Puzrin
2d24186e19
Browser files rebuild
10 years ago
Vitaly Puzrin
404c78290a
Added custom container plugin demo
10 years ago
Vitaly Puzrin
7075e8881f
Updated and optimized call
10 years ago
Vitaly Puzrin
3b4e155a1b
Demo deps update
10 years ago
Vitaly Puzrin
e0f01864e8
4.0.0 released
10 years ago
Vitaly Puzrin
589a2b9f0f
Browser files rebuild
10 years ago
Alex Kocharin
e173111e40
Remove stateCore.push() method
10 years ago
Vitaly Puzrin
e9ccf97a0b
Commented out unused `replaceEntities()`
10 years ago
Vitaly Puzrin
84375344d2
Simplified replacer
10 years ago
Vitaly Puzrin
3ca218b27f
Deps refresh & migration link
10 years ago
Vitaly Puzrin
2b5aca9642
Docs update
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
387f3f0a8e
Use externap package for entities data
10 years ago
Alex Kocharin
b91a56dac2
Fix ndoc comments
10 years ago
Alex Kocharin
b8f7b5b64e
Add markup info for autolink and linkifier tokens
10 years ago
Alex Kocharin
141308d1a7
Fix protocol-less urls from linkifier
Linkifier might send raw hostnames like "example.com", where url
starts with domain name. So we prepend http:// in those cases,
and remove it afterwards.
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
Alex Kocharin
31ce62ce80
Re-export uc.micro as md.utils.lib.ucmicro
10 years ago
Alex Kocharin
ab47e3a0c0
Update demo script to use markdown-it@4.x api
10 years ago
Alex Kocharin
7f8d3ebe82
Update strikethrough scanDelims to match emphasis
10 years ago
Alex Kocharin
f1aff8a5b9
Add StateCore.Token and StateCore.push()
so all state objects would have roughly the same interface
10 years ago
Alex Kocharin
78bbb9a200
Add token.meta for use in plugins
10 years ago
Alex Kocharin
e0cfc6db4c
Re-export uc.micro and mdurl
10 years ago
Alex Kocharin
5a390adbbc
Make Token class accessible from a State
10 years ago
Vitaly Puzrin
d6128515b3
Removed unnecessary checks
10 years ago
Vitaly Puzrin
917f5dee32
Attrs renderer signature change
10 years ago
Vitaly Puzrin
d76475721c
typo fix
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