Inline prose sentence where specific words are highlighted in an accent colour. Mark words with **double asterisks** in the text field — highlighted words are wrapped in a styled span.
| Field | Type | |
|---|---|---|
| text | string. Body text with **highlighted** words wrapped in double asterisks. | required |
| size | string. Font-size. Default 1.2rem. | optional |
| colour | string. Highlight colour. Default | optional |
| weight | integer. Base font weight. Default 600. | optional |
| align | string. text-align. Default left. | optional |
{
"type": "text_highlight",
"text": "A concise description of the content."
}
{
"identifier": "urn:air:a2uicatalog.ai:atom:text_highlight",
"displayName": "Text Highlight",
"type": "application/vnd.a2ui.atom+json",
"url": "https://a2uicatalog.ai/atoms/text_highlight",
"capabilities": [
"apps-script-web",
"web",
"meet-stage"
],
"description": "Inline prose sentence where specific words are highlighted in an accent colour. Mark words with **double asterisks** in the text field \u2014 highlighted words are wrapped in a styled span.",
"representativeQueries": [
"show a prose sentence with **marked** words highlighted in accent colour",
"inline prose sentence where specific words are highlighted in an accent colour. mark words with **do",
"render a text highlight"
]
}
The renderer is open source. Deploy your own instance in 4 commands — you own the URL, no dependency on the demo endpoint.
git clone https://github.com/a2uicatalog/a2ui
cd apps-script-surface/gas-schema-renderer
clasp push && clasp deploy
Full deploy guide →