Web Device Markdown structure — not an AUP primitive; not a theme/site layout component.
Sample contract
| Field | Value |
|---|---|
| Purpose | Author static GFM admonition callouts in content Markdown |
| Boundaries | Not editable; not AUP text full props; no write path |
| Author entry | > [!NOTE]-style blockquotes in content.md |
| Surface | Web Device document (static) |
| Public status | released |
| Fallback / failure | Unknown marker → ordinary blockquote; bare marker uses locale default title |
| Verification | Routes below · arc --version = 2.0.0-beta.28 |
Purpose
GitHub-style callouts from > [!NOTE] (and TIP/IMPORTANT/WARNING/CAUTION) blockquotes.
Sample
Source (custom title on the marker line):
> [!IMPORTANT] This is a content-file capability
> Write this kind of callout in `content.md`. The page presents what the author wrote; it does not execute an action or modify data.Rendered:
This is a content-file capability
Write this kind of callout in content.md. The page presents what the author wrote; it does not execute an action or modify data.
Bare markers (no same-line title) use the reader’s default label for the content locale. English keeps English defaults; zh defaults are applied at read time:
| Marker | zh default title |
|---|---|
NOTE | 说明 |
TIP | 提示 |
IMPORTANT | 重要 |
WARNING | 警告 |
CAUTION | 注意 |
Source (bare marker):
> [!TIP]
> Prefer a same-line custom title when the English word is not the label you want.Rendered:
Tip
Prefer a same-line custom title when the English word is not the label you want.
Failure and limits
| Situation | Expected result |
|---|---|
[!FIXME] or other unknown marker | Plain blockquote, not a callout chrome |
| Marker not on the first line of the quote | Not recognized as admonition |
| Expecting an editor or dismiss control | Static document content only |
Verification evidence
| Item | Value |
|---|---|
| Baseline | 2026-08-09 · arc --version → 2.0.0-beta.28 |
| Capability row | docs/aup/capability-matrix.md §6 · GFM admonition |
| Implementation | content-reader.ts (ADMONITION_MARKER_RE, ADMONITION_LOCALIZED_LABELS); text admonition renderer |
| Public routes | /en/docs/web-device/markdown/gfm-admonition/ · /zh/docs/web-device/markdown/gfm-admonition/ |
| Local run | arc service start --blocklet blocklets/arcblock --port 4900 · open routes; on zh locale bare markers show Chinese defaults |
| Accept | Source and rendered callout match; unknown marker stays a quote; no edit controls |
Related
- Markdown hub — navigation only
- AUP
textprimitive - Historical multi-unit hub: markdown-gfm-callouts