markdown-it-autolink

Crates.iomarkdown-it-autolink
lib.rsmarkdown-it-autolink
version0.2.0
sourcesrc
created_at2023-06-26 23:08:40.893417
updated_at2023-08-03 16:55:14.093612
descriptionA markdown-it plugin for parsing GFM autolinks
homepage
repositoryhttps://github.com/chrisjsewell/markdown-it-plugins.rs
max_upload_size
id900787
size33,244
Chris Sewell (chrisjsewell)

documentation

README

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

cargo fmt