document_format
Stable type · Other
Tier: stable · Kind: type · Topic: Other
| Julia | TypeScript | Python | Rust | Go |
|---|---|---|---|---|
| not exported | DocumentFormat | DocumentFormat | DocumentFormat | DocumentFormat |
Julia
Julia does not export this type.
TypeScript
type DocumentFormat = 'markdown' | 'typst';
Which source format a document is written in.
Python
class DocumentFormat(str, Enum)
DocumentFormat.MARKDOWN = 'markdown'
DocumentFormat.TYPST = 'typst'
Which source format a document is written in. A plain string
("markdown" / "typst") is accepted wherever a format is.
Rust
pub enum DocumentFormat {
Markdown,
Typst,
}
Which source format a document is written in.