text
.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.
Parameters
text
- Likely a body argument
inline content to transform
size
- Optional
- Likely named
font size, or default if not specified
Values
tinysmallnormalmediumlargelargerhuge
weight
style
decoration
- Optional
- Likely named
text decoration, or default if not specified
Values
noneunderlineoverlineunderoverlinestrikethroughall
case
variant
script
- Optional
- Likely named
vertical script position (sub for subscript, sup for superscript), or default if not specified
Values
subsup
color
- Optional
- Likely named
text color, or default if not specified
url
- Optional
- Likely named
optional URL to link the text to. If empty (but specified), the URL will match the text content