Package-level declarations
Functions
.align alignment:{Container.Alignment} body:{MarkdownContent} -> Node
Aligns content and text within its parent.
.box title:{InlineMarkdownContent? = null}
type:{Box.Type = Box.Type.CALLOUT}
padding:{Size? = null}
background:{Color? = null}
foreground:{Color? = null}
body:{MarkdownContent}
-> Node
Inserts content in a box.
.center body:{MarkdownContent} -> Node
Centers content and text within its parent.
.clip clip:{Clipped.Clip} body:{MarkdownContent} -> Node
Applies a clipping path to its content.
.collapse title:{InlineMarkdownContent}
open:{Boolean = false}
body:{MarkdownContent}
-> Node
Inserts content in a collapsible block, whose content can be hidden or shown by interacting with it.
.column alignment:{Stacked.MainAxisAlignment = Stacked.MainAxisAlignment.START}
cross:{Stacked.CrossAxisAlignment = Stacked.CrossAxisAlignment.CENTER}
gap:{Size? = null}
body:{MarkdownContent}
-> Node
Stacks content vertically.
.container width:{Size? = null}
height:{Size? = null}
fullwidth:{Boolean = false}
foreground:{Color? = null}
background:{Color? = null}
border:{Color? = null}
borderwidth:{Sizes? = null}
borderstyle:{Container.BorderStyle? = null}
margin:{Sizes? = null}
padding:{Sizes? = null}
radius:{Sizes? = null}
alignment:{Container.Alignment? = null}
textalignment:{Container.TextAlignment? = alignment?.let(Container.TextAlignment::fromAlignment)}
float:{Container.FloatAlignment? = null}
body:{MarkdownContent? = null}
-> Node
.figure caption:{String? = null} body:{MarkdownContent} -> Node
Inserts content in a figure block, which features an optional caption and can be numbered according to the figures
numbering rules.
.float alignment:{Container.FloatAlignment} body:{MarkdownContent} -> Node
Turns content into a floating element, allowing subsequent content to wrap around it.
.fullspan body:{MarkdownContent} -> Node
If the document has a multi-column layout (set via pageformat), makes content span across all columns in a multi-column layout. If the document has a single-column layout, the effect is the same as container.
.grid columns:{Int}
alignment:{Stacked.MainAxisAlignment = Stacked.MainAxisAlignment.CENTER}
cross:{Stacked.CrossAxisAlignment = Stacked.CrossAxisAlignment.CENTER}
gap:{Size? = null}
body:{MarkdownContent}
-> Node
Stacks content in a grid layout. Each child is placed in a cell in a row, and a row ends when its cell count reaches columns.
.row alignment:{Stacked.MainAxisAlignment = Stacked.MainAxisAlignment.START}
cross:{Stacked.CrossAxisAlignment = Stacked.CrossAxisAlignment.CENTER}
gap:{Size? = null}
body:{MarkdownContent}
-> Node
Stacks content horizontally.
.textcollapse full:{InlineMarkdownContent}
short:{InlineMarkdownContent}
open:{Boolean = false}
-> Node
Inserts content in a collapsible text span, whose content can be expanded or collapsed by interacting with it.
.todo body:{MarkdownContent} -> Node
Creates a to do box, to mark content that needs to be done later, and logs it. The title is localized according to the current locale (doclang), or English as a fallback.
An empty square that adds whitespace to the layout. If at least one of the dimensions is set, the square will have a fixed size. If both dimensions are unset, a blank character is used, which can be useful for spacing and adding line breaks.