paragraph
.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}
-> NodeContent copied to clipboard
Creates a paragraph with fine-grained control over its properties.
As a Paragraph primitive, this function can be used in .extend to affect all paragraphs in the document:
.extend {paragraph}
.super foreground:{gray}Content copied to clipboard
Parameters
foreground
- Optional
text color. Default if unset
background
- Optional
background color. Transparent if unset
border
- Optional
border color. Default if unset and borderwidth is set
borderwidth
- Optional
border width. Default if unset and border is set
margin
- Optional
whitespace outside the content. None if unset
padding
- Optional
whitespace around the content. None if unset
radius
- Optional
corner (and border) radius. None if unset
textdecoration
- Optional
text decoration of the text. None if unset
Values
textcase