kreuzberg 4.9.7

High-performance document intelligence library for Rust. Extract text, metadata, and structured data from PDFs, Office documents, images, and 91+ formats and 248 programming languages via tree-sitter code intelligence with async/sync APIs.
Documentation
//! Unified rendering of document content to output formats.
//!
//! - [`render_markdown`] — GFM Markdown (via comrak)
//! - [`render_html`] — HTML5 (via comrak)
//! - [`render_djot`] — Djot markup
//! - [`render_plain`] — Plain text (no formatting)

pub(crate) mod common;
mod comrak_bridge;
mod djot;
mod html;
#[cfg(feature = "html")]
pub mod html_styled;
mod json;
mod markdown;
mod plain;

pub use comrak_bridge::build_comrak_ast;
pub use djot::render_djot;
pub use html::render_html;
#[cfg(feature = "html")]
pub use html_styled::StyledHtmlRenderer;
pub use json::render_json;
pub use markdown::render_markdown;
pub use plain::render_plain;