markdown_that/plugins/
mod.rs

1//! Ready-to-use plugins. Everything, including basic markdown syntax, is a plugin.
2//!
3//! This library is made to be as extensible as possible. In order to ensure that
4//! you can write your own markdown syntax of any arbitrary complexity,
5//! CommonMark syntax itself is made into a plugin (`cmark`), which you can use
6//! as an example of how to write your own.
7//!
8//! Add each plugin you need by invoking `add` function like this:
9//! ```rust
10//! let md = &mut markdown_that::MarkdownThat::new();
11//! markdown_that::plugins::cmark::add(md);
12//! markdown_that::plugins::extra::add(md);
13//! markdown_that::plugins::html::add(md);
14//! markdown_that::plugins::sourcepos::add(md);
15//! // ...
16//! ```
17pub mod cmark;
18pub mod extra;
19pub mod html;
20pub mod sourcepos;