/note-mark

A markdown parser.

Primary LanguageRustApache License 2.0Apache-2.0

note-mark

crates.io docs.rs

A markdown parser under development.

Please read the documentation.

Note: This is still a work in progress. Do not use it.

Example

[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>");
}

License

Licensed under either of

at your option.