Package-level declarations
Functions
Link copied to clipboard
.br -> NodeContent copied to clipboard
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
.loremipsum -> StringContent copied to clipboard
Link copied to clipboard
.match content:{InlineMarkdownContent} \
pattern:{String} \
replacement:{Lambda}
-> NodeContent copied to clipboard
Finds every substring of content that matches the regular expression pattern and replaces each match with the inline content produced by replacement.
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}
-> NodeContent copied to clipboard
Creates an inline text node with specified formatting and transformation.