Crates.io | markdown-it-gfm |
lib.rs | markdown-it-gfm |
version | 0.1.0 |
source | src |
created_at | 2023-08-04 08:23:30.73488 |
updated_at | 2023-08-04 08:23:30.73488 |
description | A markdown-it plugin for parsing definition lists |
homepage | |
repository | https://github.com/chrisjsewell/markdown-it-plugins.rs |
max_upload_size | |
id | 934889 |
size | 304,101 |
A markdown-it.rs plugin to implement Github Flavoured Markdown.
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");