Skip to main content

Module markdown

Module markdown 

Source
Expand description

CommonMark (Markdown) output format.

This renderer is designed for Pandoc interop: citum processes citations inline (replacing [@key] markers with rendered text) and emits the document body verbatim, so the output can be piped directly to pandoc or any other CommonMark-aware formatter. Only citation and bibliography strings are rendered in CommonMark markup; block-level document markup passes through unchanged.

§Note styles

Note-based styles (Chicago notes, etc.) emit [^label] anchors in prose and [^label]: … footnote definitions at the end of the document. These follow the Pandoc/GFM footnote extension — not core CommonMark. Downstream consumers must enable the extension: pandoc --from commonmark+footnotes (or --from gfm).

Structs§

Markdown
Renders processed citations and bibliography entries as CommonMark markup.