parse_typst
Stable function · Other
Tier: stable · Kind: function · Topic: Other
| Julia | TypeScript | Python | Rust | Go |
|---|---|---|---|---|
parse_typst | parseTypst | parse_typst | parse_typst | ParseTypst |
Julia
parse_typst(text::AbstractString)
parse_typst(text::AbstractString) -> OrderedDict{String, Any}
Read a Typst ESM document (Lean Source.Typ.parseTyp). See
parse_markdown
.
TypeScript
function parseTypst(text: string, options?: ParseDocumentOptions): Record<string, unknown>
Read a Typst ESM document (Source.Typ.parseTyp). See parseMarkdown
.
Python
parse_typst(text: str) -> dict
Read a Typst ESM document (Source.Typ.parseTyp). See
parse_markdown
.
Rust
pub fn parse_typst(text: &str) -> Result<Value, DiagnosticError>
Read a Typst ESM document (Source.Typ.parseTyp). See parse_markdown
.
Errors
As parse_markdown
.