Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
mod ast;
mod commands;
mod parser;
mod traits;
pub mod utils;

pub use ast::AST;
pub use commands::Value;
pub use traits::{Context, MissingCommand, NotedownConfig, NotedownMeta, NotedownTarget, ToHTML, ToMarkdown, GLOBAL_CONFIG};

pub fn parse(text: &str) -> Context {
    let mut c = Context::default();
    c.parse(text);
    return c;
}