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.
| Surface | Note |
|---|---|
| googlechat | some markup stripped by Chat card renderer; tables and code blocks fall back to plain text |
| Field | Type | |
|---|---|---|
| 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",
"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"
]
}
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 →