Annotated Code

Code block with numbered yellow callout bubbles on specific lines,

Surfaces
webmeet-stageapps-script-web
Degraded on
SurfaceNote
pdfcallout bubbles may not render inline — consider code + steps instead
Fields
FieldType
languagestringrequired
codestringrequired
captionstringoptional
annotations[{'line': 'integer', 'text': 'string'}]required
Example payload
{
  "type": "annotated_code",
  "language": "json",
  "code": "{\"type\": \"example\"}",
  "annotations": 1
}
ARD catalog entry
{
  "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"
  ]
}
← 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 →