# 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}
    -> Node

Content 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

- `tiny`
- `small`
- `normal`
- `medium`
- `large`
- `larger`
- `huge`

weight

- Optional
- Likely named

font weight, or default if not specified

#### Values

- `normal`
- `bold`

style

- Optional
- Likely named

font style, or default if not specified

#### Values

- `normal`
- `italic`

decoration

- Optional
- Likely named

text decoration, or default if not specified

#### Values

- `none`
- `underline`
- `overline`
- `underoverline`
- `strikethrough`
- `all`

case

- Optional
- Likely named

text case, or default if not specified

#### Values

- `none`
- `uppercase`
- `lowercase`
- `capitalize`

variant

- Optional
- Likely named

font variant, or default if not specified

#### Values

- `normal`
- `smallcaps`

script

- Optional
- Likely named

vertical script position (`sub` for subscript, `sup` for superscript), or default if not specified

#### Values

- `sub`
- `sup`

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

classname

- Optional

CSS class name to apply to the element, if supported by the renderer. None if not specified.