Re-exports§
pub use render::PageRenderer;pub use render::PdfDocumentGenerator;pub use render::PdfRenderer;pub use render::PixmapDocumentGenerator;pub use render::PixmapRenderer;pub use render::SvgDocumentGenerator;pub use render::SvgRenderer;pub use ast::PageConfig;pub use html::markdown_to_html;pub use html::markdown_to_html_document;
Modules§
- ast
- 样式系统模块
- css
- CSS 样式引擎模块
- error
- generator
- 文档生成器模块
- html
- HTML 处理模块
- render
- 渲染模块 - 提供多种渲染后端
- text
- visual
- 视觉元素模块 - 纯数据描述,与渲染后端解耦
Structs§
- Convert
Options - Markdown 转换配置
Functions§
- html_
file_ to_ pdf - HTML 文件 → PDF(自动将本地图片嵌入为 base64)
- html_
file_ to_ png - HTML 文件 → PNG(自动将本地图片嵌入为 base64)
- html_
file_ to_ svg - HTML 文件 → SVG(自动将本地图片嵌入为 base64)
- html_
to_ pdf - HTML → PDF 转换
- html_
to_ png - HTML → PNG 转换
- html_
to_ svg - HTML → SVG 转换
- markdown_
file_ to_ pdf - Markdown 文件 → PDF(自动将本地图片嵌入为 base64)
- markdown_
file_ to_ png - Markdown 文件 → PNG(自动将本地图片嵌入为 base64)
- markdown_
file_ to_ svg - Markdown 文件 → SVG(自动将本地图片嵌入为 base64)
- markdown_
to_ pdf - 核心转换逻辑:Markdown → PDF
- markdown_
to_ png - 核心转换逻辑:Markdown → PNG
- markdown_
to_ svg - 核心转换逻辑:Markdown → SVG