A markdown parser under development.
Please read the documentation.
Note: This is still a work in progress. Do not use it.
[dependencies]
note-mark = "0.0.2"
use note_mark::prelude::*;
fn main() {
let markdown = Markdown::default();
let html = markdown.execute("# Hello, world!\n\nThis is a new line.");
assert_eq!(html, "<h1>Hello, world!</h1><p>This is a new line.</p>");
}
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.