box
fun 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 styled box.
Return
the new Box node
Parameters
padding
- Optional
- Likely named
padding around the box. If unset, the box uses the default padding
background
- Optional
- Likely named
background color. If unset, the box uses the default color
foreground
- Optional
- Likely named
foreground (text) color. If unset, the box uses the default color
body
- Likely a body argument
box content