111 Commits (42e388224b92c41208941093e15b5c0dc486464c)

Author SHA1 Message Date
Alex Kocharin 08f2d3eb4d Forbid nested links, prefer inner one 11 years ago
Alex Kocharin 8470c1cae8 Fix an issue with links skipping space after them 11 years ago
Alex Kocharin d7221761fb Render image labels as text 11 years ago
Alex Kocharin 0c0917048c Allow sequence of 4+ markers in pairs 11 years ago
Alex Kocharin e12d5cbdad Allow sequence of 4+ markers in emphases 11 years ago
Vitaly Puzrin a5a04532df Both helpers & utils are not in each instance of main parser 11 years ago
Alex Kocharin 19e1aa28ea use .toUpperCase() for link normalization 11 years ago
Vitaly Puzrin 671fd4f3ed eslint rules & coding style update 11 years ago
Alex Kocharin 1ff69abeba Fix arbitrary keys in refs/footnotes/abbrs 11 years ago
Vitaly Puzrin 761947f2fb More safe properties check 11 years ago
Alex Kocharin 4649deb59b Deduplicate footnotes 11 years ago
Alex Kocharin 32423dbac5 Fix text after inline footnotes 11 years ago
Alex Kocharin faae7485b7 Add footnote rules 11 years ago
Alex Kocharin d54ed887f4 Normalize links before they hit renderer 11 years ago
Vitaly Puzrin c70700151a Updated parsers API - don't rewrite token arrays in StateCore 11 years ago
Vitaly Puzrin 35063086ba Moved link parse functions to helpers 11 years ago
Vitaly Puzrin 460ba580ee perf: optimized text scans 11 years ago
Alex Kocharin 74602dba90 Fix spaces in subscript and superscript 11 years ago
Alex Kocharin d5e8e61b6b Check validation flag instead of hardcoding rules 11 years ago
Alex Kocharin f28ab537e4 Fix subscript and superscript rules 11 years ago
Alex Kocharin 3b785a0bfa Add subscript and superscript 11 years ago
Alex Kocharin 666e94a47a Change priority for all pairs 11 years ago
Peter deHaan a519ef26c4 Fix typo 11 years ago
Peter deHaan fdb868d815 FIx typo 11 years ago
Vitaly Puzrin 220efa32e8 updated eslint to 9.1 & did appropriate changes in sources 11 years ago
Vitaly Puzrin 54990dd7c5 Updated inline text scan logic 11 years ago
Vitaly Puzrin 1e65876d7b Fixed prev commit 11 years ago
Vitaly Puzrin 6c3ba9eb99 Perf: md unescaping opt 11 years ago
Vitaly Puzrin 8f909bcf33 Moved HTML escaping to renderer 11 years ago
Vitaly Puzrin 0411b14cf5 Added <mark> support 11 years ago
Vitaly Puzrin 710a62f1d5 Added <ins> support 11 years ago
Vitaly Puzrin f15fa5ed23 Renamed back `strikethrough` to `del` 11 years ago
Alex Kocharin 1676e10ee8 Fix performance when nested token doesn't match 11 years ago
Alex Kocharin c9adb050e0 Preserve initial position in links 11 years ago
Vitaly Puzrin 6ce8e1b61d Perf: improved inlines cache logic 11 years ago
Vitaly Puzrin 2040c4f02e StateInline props rename 11 years ago
Alex Kocharin ba2463f2f5 Remove dead code in em/del 11 years ago
Alex Kocharin f74bbf2515 Tweak emphasis parsing algorithm 11 years ago
Alex Kocharin 5d772b9bb6 Add validation mode to all inline rules 11 years ago
Vitaly Puzrin bf1016510b typo fix 11 years ago
Vitaly Puzrin 0e8d9bec18 reordered StateInline properties 11 years ago
Alex Kocharin 7abfb2718c Treat newline as a whitespace in em and del 11 years ago
Alex Kocharin 5a73b286b6 Update emphasis rule to the latest CommonMark spec 11 years ago
Vitaly Puzrin 199976d09e parse backticks without regex exec 11 years ago
Vitaly Puzrin b185148117 Cleanup 11 years ago
Vitaly Puzrin 6a05b0674c Simplified StateInline 11 years ago
Vitaly Puzrin 9fbeb5a6ec Perf: escaping 11 years ago
Vitaly Puzrin 5bd71f91a7 Moved state helpers to State* classes 11 years ago
Vitaly Puzrin 0e3e1171e6 Moved string helpers to utilities 11 years ago
Vitaly Puzrin 81778ecdba Added hook to validate links 11 years ago