Package-level declarations

Functions

Link copied to clipboard
.br -> <Error class: unknown class>

Creates a line break. In standard Markdown, this is also achievable with two spaces at the end of a line, but this function provides a more explicit and unambiguous way to insert a line break.

Link copied to clipboard
.code   lang:{String? = null} \
caption:{InlineMarkdownContent? = null} \
linenumbers:{Boolean = true} \
focus:{Range? = null} \
ref:{String? = null} \
code:{EvaluableString}
-> Node

Creates a code block. Contrary to its standard Markdown implementation with backtick/tilde fences, this function accepts function calls within its code argument, hence it can be used - for example - in combination with read to load code from file.

Link copied to clipboard
.codespan text:{String} -> <Error class: unknown class>

Creates an inline code span. Equivalent to backticks in standard Markdown, but also accepts function calls within its text argument.

Link copied to clipboard
.loremipsum -> <Error class: unknown class>
Link copied to clipboard
.text  text:{InlineMarkdownContent} \
size:{TextTransformData.Size? = null} \
weight:{TextTransformData.Weight? = null} \
style:{TextTransformData.Style? = null} \
decoration:{TextTransformData.Decoration? = null} \
case:{TextTransformData.Case? = null} \
variant:{TextTransformData.Variant? = null} \
script:{TextTransformData.Script? = null} \
color:{Color? = null} \
url:{String? = null} \
classname:{String? = null}
-> Node

Creates an inline text node with specified formatting and transformation.