1#![doc = include_str!("readme.md")]
2#![feature(new_range_api)]
3#![warn(missing_docs)]
4#![allow(missing_copy_implementations)]
5#![doc(html_logo_url = "https://raw.githubusercontent.com/ygg-lang/oaks/refs/heads/dev/documents/logo.svg")]
6#![doc(html_favicon_url = "https://raw.githubusercontent.com/ygg-lang/oaks/refs/heads/dev/documents/logo.svg")]
7pub mod language;
11
12pub mod ast;
14pub mod builder;
16
17pub mod lexer;
20#[cfg(any(feature = "lsp", feature = "oak-highlight", feature = "oak-pretty-print"))]
22pub mod lsp;
23#[cfg(feature = "mcp")]
25pub mod mcp;
26
27pub mod parser;
29
30pub use crate::{ast::MarkdownRoot, builder::MarkdownBuilder, language::MarkdownLanguage, lexer::MarkdownLexer, parser::MarkdownParser};
31
32#[cfg(feature = "oak-highlight")]
33pub use crate::lsp::highlighter::MarkdownHighlighter;
34
35pub use lexer::token_type::MarkdownTokenType;
38pub use parser::element_type::MarkdownElementType;