doctype
.doctype type:{DocumentType? = null} -> Any
Content copied to clipboard
If type is specified, sets the document type to that value. The document type affects its final output style, numbering format and several other properties.
.doctype {paged}
Content copied to clipboard
If it's unset, the lowecase name of the current document type is returned.
The current document type is .doctype
Content copied to clipboard
Return
the lowercase name of the current document type if type is unset, nothing otherwise