Markdown Block

Category: Core

Live preview
A concise description of the content.

Renders a Markdown string as formatted inline HTML - bold, italic, inline code and links (http, https, mailto, tel or relative). Block syntax (headings, lists, tables, fenced code) is not rendered. Adapted from the MarkDownRenderer pattern in OpenUI OUI benchmark samples.

Surfaces
webgoogle-meet-stageemailpdfgoogle-apps-script-webmcp-appsandroidslidespptx
Degraded on
SurfaceNote
google-chatsome markup stripped by Chat card renderer; tables and code blocks fall back to plain text
Fields
FieldTypeRequired
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",
    "android",
    "slides",
    "pptx"
  ],
  "description": "Renders a Markdown string as formatted inline HTML - bold, italic, inline code and links (http, https, mailto, tel or relative). Block syntax (headings, lists, tables, fenced code) is not rendered. Adapted from the MarkDownRenderer pattern in OpenUI OUI benchmark samples.",
  "representativeQueries": [
    "show a inline markdown string (bold, italic, code, links) rendered to HTML",
    "renders a markdown string as formatted inline html - bold, italic, inline code and links (http, http",
    "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 →