Version: dev

This is the documentation for the development version. For the latest release, see v0.13.0.

print_typst

Stable function · Other

Tier: stable · Kind: function · Topic: Other

JuliaTypeScriptPythonRustGo
print_typstprintTypstprint_typstprint_typstPrintTypst

Julia

print_typst(doc::AbstractDict)
print_typst(doc::AbstractDict) -> String

Print an ESM document as Typst (Lean Source.Typ.printTyp): the esm Typst package’s esm-document header, Typst math displays and the package’s functions for components, declarations and reactions. See print_markdown .

Source

TypeScript

function printTypst(doc: object): string

Print an ESM document as Typst (Source.Typ.printTyp). See printMarkdown .

Source

Python

print_typst(doc: dict) -> str

Print an ESM document as Typst (Source.Typ.printTyp). See print_markdown .

Source

Rust

pub fn print_typst(doc: &Map<String, Value>) -> String

Print an ESM document as Typst (Source.Typ.printTyp). See print_markdown .

Source · Rust docs

Go

func PrintTypst(doc any) string

PrintTypst prints an ESM document as Typst (Lean Source.Typ.printTyp). See PrintMarkdown.

Source · Go docs