notedown_ast 0.16.3

Notedown Abstract Syntax Tree
Documentation
#![doc = include_str!("readme.md")]
mod context;
mod display;
mod into_node;
mod slugify;

pub use self::{
    context::ContextKind,
    into_node::IntoASTNode,
};

/// Slugify the element of notedown
pub trait Slugify {
    /// Slugify the element of notedown
    fn slugify(&self) -> String;
}
/// Aware the context in which the cursor is located
pub trait ContextAware {
    /// Aware the context in which the cursor is located
    fn context_aware(&self, offset: u32) -> ContextKind;
}