markdown-it-gfm

Crates.iomarkdown-it-gfm
lib.rsmarkdown-it-gfm
version0.1.0
sourcesrc
created_at2023-08-04 08:23:30.73488
updated_at2023-08-04 08:23:30.73488
descriptionA markdown-it plugin for parsing definition lists
homepage
repositoryhttps://github.com/chrisjsewell/markdown-it-plugins.rs
max_upload_size
id934889
size304,101
Chris Sewell (chrisjsewell)

documentation

README

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");
Commit count: 43

cargo fmt