# Package-level declarations

## Functions

figure
Link copied to clipboard

    .figure caption:{InlineMarkdownContent? = null} \
                ref:{String? = null} \
               body:{MarkdownContent}
    -> Node

Content copied to clipboard

Inserts content in a figure block, with an optional caption.

heading
Link copied to clipboard

    .heading content:{InlineMarkdownContent} \
               depth:{Int} \
                 ref:{String? = null} \
            numbered:{Boolean = true} \
             indexed:{Boolean = true} \
           breakpage:{Boolean = true} \
          foreground:{Color? = null} \
          background:{Color? = null} \
              border:{Color? = null} \
         borderwidth:{Sizes? = null} \
         borderstyle:{NodeStyle.BorderStyle? = null} \
           alignment:{NodeStyle.Alignment? = null} \
       textalignment:{NodeStyle.TextAlignment? = null} \
              margin:{Sizes? = null} \
             padding:{Sizes? = null} \
              radius:{Sizes? = null} \
            fontsize:{TextTransformData.Size? = null} \
          fontweight:{TextTransformData.Weight? = null} \
           fontstyle:{TextTransformData.Style? = null} \
         fontvariant:{TextTransformData.Variant? = null} \
      textdecoration:{TextTransformData.Decoration? = null} \
            textcase:{TextTransformData.Case? = null}
    -> Node

Content copied to clipboard

Creates a heading with fine-grained control over its behavior.

image
Link copied to clipboard

    .image    url:{String} \
            label:{InlineMarkdownContent} \
            title:{InlineMarkdownContent? = null} \
            width:{Size? = null} \
           height:{Size? = null} \
              ref:{String? = null} \
           figure:{Boolean = true} \
     mediastorage:{Boolean = true}
    -> Node

Content copied to clipboard

Creates an image with fine-grained control over its properties, compared to the standard Markdown image syntax (`![alt text](url "title")`).

link
Link copied to clipboard

    .link   content:{InlineMarkdownContent} \
                url:{String} \
              title:{InlineMarkdownContent? = null} \
         foreground:{Color? = null} \
         background:{Color? = null} \
             border:{Color? = null} \
        borderwidth:{Sizes? = null} \
        borderstyle:{NodeStyle.BorderStyle? = null} \
          alignment:{NodeStyle.Alignment? = null} \
      textalignment:{NodeStyle.TextAlignment? = null} \
             margin:{Sizes? = null} \
            padding:{Sizes? = null} \
             radius:{Sizes? = null} \
           fontsize:{TextTransformData.Size? = null} \
         fontweight:{TextTransformData.Weight? = null} \
          fontstyle:{TextTransformData.Style? = null} \
        fontvariant:{TextTransformData.Variant? = null} \
     textdecoration:{TextTransformData.Decoration? = null} \
           textcase:{TextTransformData.Case? = null}
    -> Node

Content copied to clipboard

Creates a link.

math
Link copied to clipboard

    .math   content:{EvaluableString} \
              block:{Boolean? = null} \
                ref:{String? = null} \
         foreground:{Color? = null} \
         background:{Color? = null} \
             border:{Color? = null} \
        borderwidth:{Sizes? = null} \
        borderstyle:{NodeStyle.BorderStyle? = null} \
          alignment:{NodeStyle.Alignment? = null} \
      textalignment:{NodeStyle.TextAlignment? = null} \
             margin:{Sizes? = null} \
            padding:{Sizes? = null} \
             radius:{Sizes? = null} \
           fontsize:{TextTransformData.Size? = null} \
         fontweight:{TextTransformData.Weight? = null} \
          fontstyle:{TextTransformData.Style? = null} \
        fontvariant:{TextTransformData.Variant? = null} \
     textdecoration:{TextTransformData.Decoration? = null} \
           textcase:{TextTransformData.Case? = null}
    -> Node

Content copied to clipboard

Creates a math (TeX) node, either inline or as a block.

pagebreak
Link copied to clipboard

    .pagebreak -> Node

Content copied to clipboard

Creates a page break. In standard Quarkdown, this is also achievable with `<<<` on its own line, but this function provides a more explicit way to insert a page break, and can be used within other function calls.

paragraph
Link copied to clipboard

    .paragraph content:{InlineMarkdownContent} \
            foreground:{Color? = null} \
            background:{Color? = null} \
                border:{Color? = null} \
           borderwidth:{Sizes? = null} \
           borderstyle:{NodeStyle.BorderStyle? = null} \
             alignment:{NodeStyle.Alignment? = null} \
         textalignment:{NodeStyle.TextAlignment? = null} \
                margin:{Sizes? = null} \
               padding:{Sizes? = null} \
                radius:{Sizes? = null} \
              fontsize:{TextTransformData.Size? = null} \
            fontweight:{TextTransformData.Weight? = null} \
             fontstyle:{TextTransformData.Style? = null} \
           fontvariant:{TextTransformData.Variant? = null} \
        textdecoration:{TextTransformData.Decoration? = null} \
              textcase:{TextTransformData.Case? = null}
    -> Node

Content copied to clipboard

Creates a paragraph with fine-grained control over its properties.