print_document
Stable function · Other
Tier: stable · Kind: function · Topic: Other
| Julia | TypeScript | Python | Rust | Go |
|---|---|---|---|---|
print_document | printDocument | print_document | print_document | PrintDocument |
Julia
print_document(doc::AbstractDict, format::Symbol)
print_document(doc::AbstractDict, format::Symbol) -> String
Print an ESM document in the source format format: :markdown
(print_markdown
) or :typst (print_typst
).
TypeScript
function printDocument(doc: object, format: DocumentFormat): string
Print an ESM document in the given format.
Python
print_document(doc: dict, format: DocumentFormat | str) -> str
Print an ESM document in the given format ("markdown" or
"typst").
Rust
pub fn print_document(doc: &Map<String, Value>, format: DocumentFormat) -> String
Print an ESM document in the given format.