Render
Typstry.render — Functionrender(::TypstContext, value; parameters...)
render(value; parameters..., context...)Render the value to a document.
This supports using the julia_mono typeface.
See also TypstContext.
Parameters
input::AbstractString = "input.typ"- Write the
preambleand formatted value to this Typst source file.
- Write the
output::AbstractString = "output.pdf"- Compile the document in the format specified by the file extension
pdf,png, orsvg.
- Compile the document in the format specified by the file extension
open::Bool = true- Whether to preview the document with the default viewer, if available.
ignorestatus::Bool = true- Whether to throw a
TypstCommandErrorif the command errors.
- Whether to throw a
Examples
julia> render(Any[true 1; 1.2 1 // 2]);