-
Notifications
You must be signed in to change notification settings - Fork 8
Document metadata
Giorgio Garofalo edited this page Oct 5, 2024
·
6 revisions
Information about the document can be set via functions. These functions should conventionally be called at the beginning of a Quarkdown source.
Name | Accepts | Default |
---|---|---|
.docname |
The name of the document. | Untitled Quarkdown Document |
.docauthor |
The author(s) of the document. | (none) |
.doctype |
Type of output document: plain , slides , paged . |
plain |
.doclang |
Language of the document: either a case-insensitive English full name (e.g. English , Italian , French (Canada) ) or a IETF BCP 47 language tag (e.g. en , it , fr-CA ).This defines the target locale to localize strings to, and also sets HTML's lang attribute, which enhances accessibility.See Localization for more. |
(none) |
All these functions have a 'modify or echo' behavior: if the value is not passed as an argument, then they return the previously set value. Example:
.docname {Quarkdown}
This document is called **.docname**!
This document is called Quarkdown!
- Figures
- Image size
- TeX formulas
- Table caption
- Decorative headings
- Alerts (quote types)
- Quotation source
- Page breaks
- Text symbols (text replacement)
- Syntax of a function call
- Declaring functions
- Dynamic typing
- Localization
- Including other Quarkdown files
- Importing external libraries
- Document metadata
- Theme
- Page format
- Page margin content
- Page counter
- Automatic page break
- Numbering
- Table of contents
- Stacks (row, column, grid)
- Container
- Align
- Clip
- Box
- Collapsible
- Whitespace
- Variables
- Optionality
- Math
- Conditional statements
- Loops
- Let
- Destructuring
- String manipulation
- Generators
- String
- Number
- Markdown content
- Boolean
- None
- Enumeration entry
- Iterable
- Dictionary
- Range
- Lambda
- Size(s)
- Color
- Dynamic
- Paper: abstract, definitions, theorems, and more