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
webgoogle-meet-stageemailpdfgoogle-apps-script-webmcp-apps
Degraded on
SurfaceNote
google-chatsome markup stripped by Chat card renderer; tables and code blocks fall back to plain text
Live preview
A concise description of the content.
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",
    "google-meet-stage",
    "email",
    "pdf",
    "google-apps-script-web",
    "mcp-apps"
  ],
  "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
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 →