Code field
Code editor with syntax highlighting.
Use for snippets, templates, or small config blocks.
Options
| Key | Description |
|---|---|
format |
Values: yaml, yml, javascript, js, jsx, typescript, ts, tsx, json, html, htm, markdown, mdx. |
Examples
JavaScript snippet
- name: snippet
type: code
options:
format: javascript
MDX snippet
- name: article
type: code
options:
format: mdx