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")]
7
8pub mod language;
10
11pub mod ast;
13pub mod builder;
15
16pub mod lexer;
19#[cfg(any(feature = "lsp", feature = "oak-highlight", feature = "oak-pretty-print"))]
21pub mod lsp;
22#[cfg(feature = "mcp")]
24pub mod mcp;
25
26pub mod parser;
28
29pub use crate::{ast::MarkdownRoot, builder::MarkdownBuilder, language::MarkdownLanguage, lexer::MarkdownLexer, parser::MarkdownParser};
30
31#[cfg(feature = "oak-highlight")]
32pub use crate::lsp::highlighter::MarkdownHighlighter;
33
34pub use lexer::token_type::MarkdownTokenType;
37pub use parser::element_type::MarkdownElementType;