Text Highlight

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.

Surfaces
apps-script-webwebmeet-stage
Fields
FieldType
textstring. Body text with **highlighted** words wrapped in double asterisks.required
sizestring. Font-size. Default 1.2rem.optional
colourstring. Highlight colour. Defaultoptional
weightinteger. Base font weight. Default 600.optional
alignstring. text-align. Default left.optional
Example payload
{
  "type": "text_highlight",
  "text": "A concise description of the content."
}
ARD catalog entry
{
  "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"
  ]
}
← Full ARD catalog Try it live →
Deploy your own renderer

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 →