Render

Typstry.renderFunction
render(::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 preamble and formatted value to this Typst source file.
  • output::AbstractString = "output.pdf"
    • Compile the document in the format specified by the file extension pdf, png, or svg.
  • open::Bool = true
    • Whether to preview the document with the default viewer, if available.
  • ignorestatus::Bool = true

Examples

julia> render(Any[true 1; 1.2 1 // 2]);
source