Crate mdx

Source
Expand description

MDX: A minimal, elegant Markdown to UI renderer with custom components

Re-exports§

pub use component::Component;
pub use component::ComponentRegistry;
pub use config::Config;
pub use error::Error;
pub use parser::parse;
pub use parser::InlineNode;
pub use parser::Node;
pub use parser::ParseOptions;
pub use parser::ParsedDocument;
pub use renderer::render;
pub use renderer::RenderOptions;
pub use theme::Theme;
pub use theme::ThemeOptions;

Modules§

component
config
error
parser
renderer
theme

Functions§

render_file
Renders a Markdown file to HTML
render_file_to_file
Renders a Markdown file to an HTML file
render_to_html
Renders a Markdown string to HTML
render_to_html_with_registry
Renders a Markdown string to HTML with custom component registry