Skip to content

Markup

type Markup =
| ValueMarkup
| `${ValueMarkup}${MetaMarkup}`
| `${ValueMarkup}${MetaMarkup}${SlotMarkup}`
| `${ValueMarkup}${SlotMarkup}`
| `${ValueMarkup}${SlotMarkup}${MetaMarkup}`
| SlotMarkup
| `${SlotMarkup}${MetaMarkup}`
| `${SlotMarkup}${MetaMarkup}${ValueMarkup}`
| `${SlotMarkup}${ValueMarkup}`
| `${SlotMarkup}${ValueMarkup}${MetaMarkup}`
| `${MetaMarkup}${ValueMarkup}`
| `${MetaMarkup}${ValueMarkup}${SlotMarkup}`
| `${MetaMarkup}${SlotMarkup}`
| `${MetaMarkup}${SlotMarkup}${ValueMarkup}`;

Defined in: core/src/features/parsing/parser/types.ts:70

Modern Markup type supporting value, meta, and slot placeholders

Examples:

  • ”@[value]” - simple value
  • “@value” - value with metadata
  • ”@[slot]” - nested content
  • “@value” - value with nested content
  • “<value meta>slot</value>” - HTML-like with all features