Skip to main content

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

`:::info-card`

Place a non-interactive info card and inspect its read-only body on the same page.

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

Sample contract

FieldValue
PurposeStatic info card with optional body
BoundariesNot a link; href ignored; no exec or write
Author entry:::info-card{title=… description=…}
SurfaceWeb Device document (static)
Public statusreleased
Fallback / failurehref ignored for navigation
VerificationRoutes below · arc --version = 2.0.0-beta.28

Sample

Source:

markdown
:::info-card{title="A read-only example" description="Content and layout are maintained separately"}
The body can contain paragraphs, lists, and code.

- A content item owns the reader-facing text
- `layout.aup` decides how a page organizes those items
:::

Rendered:

A read-only example

Content and layout are maintained separately

The body can contain paragraphs, lists, and code.

  • A content item owns the reader-facing text
  • layout.aup decides how a page organizes those items

An info-card is not a link. Even if an author supplies an href, the current content reader does not promote it to a clickable card.

Failure and limits

SituationExpected result
href on info-cardIgnored for navigation
Expecting click-through cardUse link-card instead
Outer fence too shallow for bodyBody may drop / misparse

Verification evidence

ItemValue
Baseline2026-08-09 · arc --version → 2.0.0-beta.28
Capability rowdocs/aup/capability-matrix.md §6 · :::info-card
Implementationcontent-reader.ts · arc#2546
Public routes/en/docs/web-device/markdown/info-card/ · /zh/docs/web-device/markdown/info-card/
Local runarc service start --blocklet blocklets/arcblock --port 4900 · open routes
AcceptBody renders; card is not a link; no write path