Fenced code block
| Surface | Note |
|---|---|
| googlechat | renders as monospace text, no syntax highlighting |
| pre/code styling unreliable across email clients — use plain text or image |
| Field | Type | |
|---|---|---|
| language | string | required |
| content | string | required |
{
"type": "code",
"language": "json",
"content": "A concise description of the content."
}
{
"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"
]
}
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 →