Skip to main content

template

Function template 

Source
pub fn template(
    template_source: impl Into<String>,
    data: impl Into<String>,
) -> RenderTemplateRequest
Expand description

Render a typst template over data (raw JSON text, the bytes that become the virtual /data.json) to PDF.