Code block with numbered yellow callout bubbles on specific lines,
| Surface | Note |
|---|---|
| callout bubbles may not render inline — consider code + steps instead |
| Field | Type | |
|---|---|---|
| language | string | required |
| code | string | required |
| caption | string | optional |
| annotations | [{'line': 'integer', 'text': 'string'}] | required |
{
"type": "annotated_code",
"language": "json",
"code": "{\"type\": \"example\"}",
"annotations": 1
}
{
"identifier": "urn:air:a2uicatalog.ai:atom:annotated_code",
"displayName": "Annotated Code",
"type": "application/vnd.a2ui.atom+json",
"url": "https://a2uicatalog.ai/atoms/annotated_code",
"capabilities": [
"web",
"meet-stage",
"apps-script-web"
],
"description": "Code block with numbered yellow callout bubbles on specific lines,",
"representativeQueries": [
"show a code block with numbered callout bubbles on specific lines explanation list below",
"code block with numbered yellow callout bubbles on specific lines,",
"render a annotated code"
]
}
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 →