Markdown Block

Renders an arbitrary GitHub-Flavoured Markdown string as formatted HTML — bold, italic, inline code, fenced code blocks, lists, tables, blockquotes, and links. Useful when content is authored in or retrieved as Markdown and needs faithful rendering without mapping to individual atoms. Adapted from the MarkDownRenderer pattern in OpenUI OUI benchmark samples.

Surfaces
webmeet-stageemailpdfapps-script-web
Degraded on
SurfaceNote
googlechatsome markup stripped by Chat card renderer; tables and code blocks fall back to plain text
Fields
FieldType
contentstring. The Markdown source string to render.required
variantstring. "default" (standard margins) or "compact" (tight spacing for dense layouts). Default is "default".optional
Example payload
{
  "type": "markdown_block",
  "content": "A concise description of the content."
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:markdown_block",
  "displayName": "Markdown Block",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/markdown_block",
  "capabilities": [
    "web",
    "meet-stage",
    "email",
    "pdf",
    "apps-script-web"
  ],
  "description": "Renders an arbitrary GitHub-Flavoured Markdown string as formatted HTML \u2014 bold, italic, inline code, fenced code blocks, lists, tables, blockquotes, and links. Useful when content is authored in or retrieved as Markdown and needs faithful rendering without mapping to individual atoms. Adapted from the MarkDownRenderer pattern in OpenUI OUI benchmark samples.",
  "representativeQueries": [
    "show a GFM markdown string rendered to HTML inline",
    "renders an arbitrary github-flavoured markdown string as formatted html \u2014 bold, italic, inline code,",
    "render a markdown block"
  ]
}
← 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 →