oak-notedown 0.0.1

High-performance incremental Markdown parser for the oak ecosystem with flexible configuration, optimized for documentation and content creation.
Documentation
#![feature(new_range_api)]
#![doc = include_str!("readme.md")]
#![doc(html_logo_url = "https://raw.githubusercontent.com/ygg-lang/oaks/refs/heads/dev/documents/logo.svg")]
#![doc(html_favicon_url = "https://raw.githubusercontent.com/ygg-lang/oaks/refs/heads/dev/documents/logo.svg")]

pub mod ast;
pub mod builder;
pub mod highlighter;
pub mod kind;
pub mod language;
pub mod lexer;
pub mod lsp;
#[cfg(feature = "mcp")]
pub mod mcp;
pub mod parser;

pub use crate::{
    ast::NoteDocument as NoteRoot,
    builder::NoteBuilder,
    highlighter::{HighlightKind, Highlighter, NoteHighlighter},
    kind::NoteSyntaxKind,
    language::NotedownLanguage as NoteLanguage,
    lexer::NotedownLexer as NoteLexer,
    lsp::NoteLanguageService,
    parser::NoteParser,
};

#[cfg(feature = "mcp")]
pub use crate::mcp::serve_note_mcp;