Crates.io | mossy |
lib.rs | mossy |
version | 0.1.2 |
source | src |
created_at | 2018-09-03 17:09:37.456606 |
updated_at | 2019-02-21 16:06:03.684055 |
description | A toy library for parsing and compiling Markdown. |
homepage | |
repository | https://github.com/totechite/mossy |
max_upload_size | |
id | 82792 |
size | 26,088 |
A toy library for parsing and compiling Markdown.
Add this to your Cargo.toml
:
[dependencies]
mossy = "0.1.2"
and this to your crate root:
extern crate mossy;
extern crate mossy;
use mossy::App;
let md_text = r"
mossy
================
A toy library for parsing Markdown.
## Specification
It's based [CommonMark].
LICENSE
----------------
MIT
[CommonMark]: https://spec.commonmark.org/0.28/
".to_string();
let html: String = App::exec(md_text);
It's based CommonMark.
and some inline-elements.
MIT