Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 634 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 634 Bytes

markdown-it-gfm

crates.io

A markdown-it.rs plugin to implement Github Flavoured Markdown.

Usage

To load the plugin:

let parser = &mut markdown_it::MarkdownIt::new();
markdown_it_gfm::add(parser);

let root = parser.parse("https://github.github.com/gfm");
assert_eq!(root.render(), "<p><a href=\"https://github.github.com/gfm\">https://github.github.com/gfm</a></p>\n");