Package-level declarations
Functions
.captionposition default:{CaptionPosition? = null}
figures:{CaptionPosition? = null}
tables:{CaptionPosition? = null}
-> Void
Sets the position of captions, relative to the content they describe.
.currentpage -> Node
Displays the index (starting from 1) of the page this element lies in.
If author is specified, sets the document author to that value. This is a shortcut for docauthors when there's only one author without additional information.
.doctype type:{DocumentType? = null} -> Any
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.
.footer content:{MarkdownContent} -> Node
Displays content on the bottom center of each page of a document.
.marker name:{InlineMarkdownContent} -> Node
Creates an invisible marker, that points to a specific location in the document, and can be referenced by other elements as would happen with a regular heading.
.noautopagebreak -> Void
Disables automatic page breaks when a heading is found.
.pageformat size:{PageSizeFormat? = null}
orientation:{PageOrientation = context.documentInfo.type.preferredOrientation}
width:{Size? = null}
height:{Size? = null}
margin:{Sizes? = null}
bordertop:{Size? = null}
borderright:{Size? = null}
borderbottom:{Size? = null}
borderleft:{Size? = null}
bordercolor:{Color? = null}
columns:{Int? = null}
alignment:{Container.TextAlignment? = null}
-> Void
Sets the page layout format of the document. If a value is unset, the default value supplied by the underlying renderer is used.
.pagemargin position:{PageMarginPosition} content:{MarkdownContent} -> Node
Displays content on each page of a document.
.tableofcontents title:{InlineMarkdownContent? = null}
maxdepth:{Int = 3}
focus:{InlineMarkdownContent? = null}
-> Node
Generates a table of contents, based on the headings in the document, organized in a hierarchical structure defined by each heading's depth.
.totalpages -> Node
Displays the total amount of pages in the document.