Expand description
Render request bodies — one per entry point mdcast exposes: the markdown
pipeline (mdcast render) and the data-driven typst template pipeline
(mdcast render-template).
Structs§
- Render
Markdown Request - Render a markdown document to
target. Mirrors what the CLI’srendersubcommand builds before handing aResolvedDocto a backend: the body after frontmatter extraction, the metadata that extraction produced, the brand spec, and the flags that change the pipeline. - Render
Options - The pipeline flags
mdcast renderexposes, minus the ones that are meaningless over HTTP (--out,--assets DIR). - Render
Template Request - Render a user-supplied typst template over structured data — the
render-templatepath (TemplateDoc), which bypassesResolvedDocentirely.
Enums§
- Template
Format - Output format for a template render.
Htmlneeds a server built with thetypst-htmlfeature; one built without it answerscrate::ErrorCode::UnsupportedTarget.