Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 641 Bytes

File metadata and controls

15 lines (11 loc) · 641 Bytes

markdown-it-autolink.rs

crates.io

A markdown-it.rs plugin that implements the Github Flavoured Markdown autolink extension.

Usage

let md = &mut markdown_it::MarkdownIt::new();
markdown_it::plugins::cmark::add(md);
markdown_it_autolink::add(md);
md.parse("www.example.com").render();
// <p><a href="http://www.example.com">www.example.com</a></p>