Category: Core
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.
| Surface | Note |
|---|---|
| google-chat | some markup stripped by Chat card renderer; tables and code blocks fall back to plain text |
| Field | Type | Required |
|---|---|---|
| content | string. The Markdown source string to render. | required |
| variant | string. "default" (standard margins) or "compact" (tight spacing for dense layouts). Default is "default". | optional |
{
"type": "markdown_block",
"content": "A concise description of the content."
}
{
"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"
]
}
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 →