Expand description
Output-format renderers and string conversion helpers. Rendering utilities for Citum templates.
This module provides the logic to transform processed template components
into formatted strings. It supports multiple output formats through a
pluggable architecture defined by the crate::render::format::OutputFormat trait.
§Modules
format: Defines the corecrate::render::format::OutputFormattrait.plain,html,djot,markdown,latex,typst: Concrete renderer implementations.component: Logic for rendering individual template components.citation: Logic for joining components into full citations.bibliography: Logic for rendering bibliographies.
Re-exports§
pub use bibliography::refs_to_string;pub use bibliography::refs_to_string_slice_with_format;pub use bibliography::refs_to_string_with_format;pub use citation::citation_to_string;pub use citation::citation_to_string_with_format;pub use component::ProcEntry;pub use component::ProcTemplate;pub use component::ProcTemplateComponent;pub use component::render_component;pub use component::render_component_with_format_and_renderer;pub use rich_text::render_djot_inline;
Modules§
- bibliography
- Bibliography-level rendering and output assembly helpers.
- citation
- Citation-level rendering and output assembly helpers.
- component
- Component-level rendering primitives shared by citations and bibliographies.
- djot
- Djot output format.
- format
- Output format trait for pluggable renderers.
- html
- HTML output format.
- latex
- LaTeX output format.
- markdown
- CommonMark (Markdown) output format.
- org
- Org-mode output format.
- plain
- Plain text output format.
- rich_
text - Djot and org-mode inline markup rendering for free-text fields.
- typst
- Typst output format.