Code Block

Syntax-highlighted code block

Surfaces
webgoogle-apps-script-webmcp-apps
Live preview
A concise description of the content.
Fields
FieldType
languagestring (optional, e.g. python, js, yaml)optional
contentstringrequired
Example payload
{
  "type": "code_block",
  "content": "A concise description of the content."
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:code_block",
  "displayName": "Code Block",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/code_block",
  "capabilities": [
    "web",
    "google-apps-script-web",
    "mcp-apps"
  ],
  "description": "Syntax-highlighted code block",
  "representativeQueries": [
    "show a syntax-highlighted code block",
    "render a code block"
  ]
}
← 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 →