A toy library for parsing and compiling Markdown.
Add this to your Cargo.toml
:
toml
[dependencies]
mossy = "0.1.2"
and this to your crate root:
rust
extern crate mossy;
```rust extern crate mossy; use mossy::App;
let md_text = r"
A toy library for parsing Markdown.
It's based [CommonMark].
MIT
".to_string();
let html: String = App::exec(md_text);
```
It's based CommonMark.
and some inline-elements.
MIT