markdown.rs
A simple native Rust library for parsing Markdown and (outputting HTML).
Usage
To include markdown in your project add the following to your Cargo.toml:
[]
= "0.1"
Now you can use the crate in your code with
extern crate markdown;
There is no full documentation right now, the only function exported by the library is to_html
, which takes a markdown &str
and converts it to an owned String
containing html.
let html : String = to_html;
assert_eq!
TODO
- Inline HTML
- Backslash Escapes
- Automatic Links
- Reference-Style Links
- List wrapping
- HTML Entities
- Obscure Emails