Crystal port of markdown-it parser and renderer. CommonMark and syntax extensions support.
Add this to your application's shard.yml
:
dependencies:
crmark:
github: ujifgc/crmark
require "crmark"
cm_parser = MarkdownIt::Parser.new(:commonmark)
cm_parser.render(input)
mdi_parser = MarkdownIt::Parser.new(:markdownit)
mdi_parser.render(input)
- Igor Bochkariov Igor Bochkariov - creator, maintainer
markdown-it - JavaScript Markdown parser done right. Fast and easy to extend.
CommonMark - CommonMark spec