Code

Fenced code block

Surfaces
webmeet-stagepdfapps-script-web
Degraded on
SurfaceNote
googlechatrenders as monospace text, no syntax highlighting
emailpre/code styling unreliable across email clients — use plain text or image
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",
    "meet-stage",
    "pdf",
    "apps-script-web"
  ],
  "description": "Fenced code block",
  "representativeQueries": [
    "show a syntax-highlighted fenced code block",
    "fenced code block",
    "render a 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 →