Skip to main content

Sample contract · MD directive · ARC 2.0.0-beta.28

`::link-card`

Organize a navigation entry with link-card and inspect its read-only rendered result in place.

Web Device Markdown directive — not an AUP primitive; not a theme/site layout component.

Sample contract

FieldValue
PurposeNavigation card in content Markdown
BoundariesNavigation only; no exec, AFS write, or session; not a .web component API
Author entry::link-card{title=… description=… href=… icon=…}
SurfaceWeb Device document (static)
Public statusreleased
Fallback / failureNo safe href → non-link card chrome
VerificationRoutes below · arc --version = 2.0.0-beta.28

Sample

Source:

markdown
::link-card{title="Web Device overview" description="Review the site structure and its boundary" href="/en/docs/web-device/overview/" icon="book"}

Rendered:

Web Device overview

Review the site structure and its boundary

Source without href (not a navigation target):

markdown
::link-card{title="Not a link" description="Missing href stays non-interactive chrome"}

Rendered:

Not a link

Missing href stays non-interactive chrome

Failure and limits

SituationExpected result
Missing hrefNon-link presentation
Unsafe href schemeNot promoted as a safe navigation target
Expecting exec or form submitOut of contract

Verification evidence

ItemValue
Baseline2026-08-09 · arc --version → 2.0.0-beta.28
Capability rowdocs/aup/capability-matrix.md §6 · ::link-card
Implementationcontent-reader.ts · contentCardToAup
Public routes/en/docs/web-device/markdown/link-card/ · /zh/docs/web-device/markdown/link-card/
Local runarc service start --blocklet blocklets/arcblock --port 4900 · click link-card → ordinary navigation only
AcceptSource matches card; missing href is not a link; no write/exec