Web Device Markdown directive — not an AUP primitive; not a theme/site layout component.
Sample contract
| Field | Value |
|---|---|
| Purpose | Card that nests navigation-only ::action nodes |
| Boundaries | Nested ::action is not general exec permission; document stays read-only for site content |
| Author entry | :::action-card{…} with nested ::action |
| Surface | Web Device document (static) |
| Public status | released |
| Fallback / failure | Unsafe action href rejected; fence depth errors drop nested actions |
| Verification | Routes below · arc --version = 2.0.0-beta.28 |
Sample
Source:
:::action-card{title="Continue reading" description="Place several navigation choices in one card" icon="book"}
::action{label="Read the AUP layout boundary" href="/en/docs/web-device/aup-reference/" variant="primary"}
::action{label="Browse components hub" href="/en/docs/web-device/components/" variant="secondary"}
:::Rendered:
Continue reading
Place several navigation choices in one card
Read the AUP layout boundaryBrowse components hubFailure and limits
| Situation | Expected result |
|---|---|
Expecting exec or form submit | Out of contract |
Nested ::action without href | Non-link action chrome |
| Outer fence too shallow | Nested actions may drop |
Verification evidence
| Item | Value |
|---|---|
| Baseline | 2026-08-09 · arc --version → 2.0.0-beta.28 |
| Capability row | docs/aup/capability-matrix.md §6 · :::action-card |
| Implementation | content-reader.ts · nested generic ::action |
| Public routes | /en/docs/web-device/markdown/action-card/ · /zh/docs/web-device/markdown/action-card/ |
| Local run | arc service start --blocklet blocklets/arcblock --port 4900 · clicks navigate only |
| Accept | Actions navigate; no write/exec; source matches card |
Related
- Markdown hub — navigation only
- AUP
actionprimitive - Historical multi-unit hub: markdown-cards