TemplatePlaceholders

Placeholders for a TemplateProcessor used for the post-rendering stage, which involves wrapping the output of the rendering stage in a template.

Properties

Link copied to clipboard
const val COLUMN_COUNT: String

Number of columns on each page.

Link copied to clipboard
const val CONTENT: String

Content of the rendering stage.

Link copied to clipboard

Document type, lowercase.

Link copied to clipboard
const val HAS_CODE: String

Whether block codes are used and highlighting-related scripts should be loaded.

Link copied to clipboard
const val HAS_MATH: String

Whether math is used and math-related scripts should be loaded.

Link copied to clipboard

Whether Mermaid diagrams are used and diagram-related scripts should be loaded.

Link copied to clipboard

Whether the document has a fixed size.

Link copied to clipboard

Horizontal content alignment of each page.

Link copied to clipboard
const val IS_PAGED: String

Whether this document is grouped in pages.

Link copied to clipboard
const val IS_PLAIN: String

Whether this document is plain, with no sections or pages.

Link copied to clipboard
const val IS_SLIDES: String

Whether this document is a presentation.

Link copied to clipboard
const val LANGUAGE: String

Language of the document.

Link copied to clipboard

Color of the border around the content area of each page.

Link copied to clipboard

Width of the border around the content area of each page.

Link copied to clipboard
const val PAGE_HEIGHT: String

Height of the document.

Link copied to clipboard
const val PAGE_MARGIN: String

Margin of each page.

Link copied to clipboard
const val PAGE_WIDTH: String

Width of the document.

Link copied to clipboard

Indentation width of the first line of paragraphs.

Link copied to clipboard

Whitespace width between words.

Link copied to clipboard

Line height of paragraphs.

Link copied to clipboard

Whitespace height between paragraphs.

Link copied to clipboard
const val SERVER_PORT: String

Port of the local server port to communicate with.

Link copied to clipboard
const val TEX_MACROS: String

Custom user-defined TeX macros.

Link copied to clipboard
const val TITLE: String

Title of the document.