Crates.io | note-mark |
lib.rs | note-mark |
version | 0.0.2 |
source | src |
created_at | 2023-04-13 08:03:16.736109 |
updated_at | 2023-04-19 02:59:03.713923 |
description | A markdown parser. |
homepage | |
repository | |
max_upload_size | |
id | 838004 |
size | 107,905 |
A markdown parser under development.
Please read the documentation.
[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
at your option.