Just release casual-markdown v0.85 - a super lightweight RegExp-based markdown parser, with TOC, scrollspy and frontmatter support
simple, super lightweight (less than 190 lines)
vanilla javascript, no dependence
support all browsers (IE9+, Chrome, Firefox, Brave, etc..)
straight-forward coding style, hopefully readable.
support basic syntax according Basic Markdown Syntax (markdownguide.org)
support subset of extended-syntax
table-of-content (TOC) and scrollspy support
auto highlight comment and keyword in code-block
frontmatter for simple YAML
extendable (by override md.before, md.after, md.formatCode, md.formatYAML)
a little rush. pls let me know if has bug. thanks.
1 comment
[ 2.9 ms ] story [ 11.4 ms ] threadsimple, super lightweight (less than 190 lines) vanilla javascript, no dependence support all browsers (IE9+, Chrome, Firefox, Brave, etc..) straight-forward coding style, hopefully readable. support basic syntax according Basic Markdown Syntax (markdownguide.org) support subset of extended-syntax table-of-content (TOC) and scrollspy support auto highlight comment and keyword in code-block frontmatter for simple YAML extendable (by override md.before, md.after, md.formatCode, md.formatYAML)
a little rush. pls let me know if has bug. thanks.