Code

Fenced code block

Surfaces
webgoogle-meet-stagepdfgoogle-apps-script-webmcp-apps
Degraded on
SurfaceNote
google-chatrenders as monospace text, no syntax highlighting
emailpre/code styling unreliable across email clients — use plain text or image
Live preview
{
  "type": "stat_card",
  "value": "1B+",
  "label": "daily executions"
}
Fields
FieldType
languagestringrequired
contentstringrequired
Example payload
{
  "type": "code",
  "language": "json",
  "content": "A concise description of the content."
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:code",
  "displayName": "Code",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/code",
  "capabilities": [
    "web",
    "google-meet-stage",
    "pdf",
    "google-apps-script-web",
    "mcp-apps"
  ],
  "description": "Fenced code block",
  "representativeQueries": [
    "show a syntax-highlighted fenced code block",
    "fenced code block",
    "render a code"
  ]
}
← Full ARD catalog
Deploy your own Google Apps Script renderer

The renderer is an open-source Google Apps Script web app. 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 a2ui/apps-script-surface/gas-wired-renderer
clasp push && clasp deploy
Full deploy guide →