Skip to main content

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

`:::step`

Nest a single step body under steps; full live sample lives with the steps container.

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

Sample contract

FieldValue
PurposeSingle step container inside ::::steps
BoundariesMust nest under ::::steps; leaf ::step cannot hold a body
Author entry:::step{title=…} nested under ::::steps
SurfaceWeb Device document (child view of steps)
Public statusreleased
Fallback / failureOutside steps → no full steps chrome; wrong fence → empty body
VerificationPair page steps · arc --version = 2.0.0-beta.28

Sample

:::step only has meaning inside ::::steps. Full fence rule and live render:

Source (must be nested):

markdown
::::steps
:::step{title="One unit, one body"}
This body is a step item. It is not a free-standing tutorial primitive.
:::
::::

Rendered:

  1. One unit, one body

    This body is a step item. It is not a free-standing tutorial primitive.

See also the fuller multi-step sample on steps.

Failure and limits

SituationExpected result
:::step without outer ::::stepsNo complete steps contract
Leaf ::stepCannot hold a body
Missing titleStep still may render; title chrome omitted

Verification evidence

ItemValue
Baseline2026-08-09 · arc --version → 2.0.0-beta.28
Capability rowdocs/aup/capability-matrix.md §6 · :::step
Implementationcontent-reader.ts (child name step) · stepsDirectiveToAup
Public routes/en/docs/web-device/markdown/step/ · /zh/docs/web-device/markdown/step/
Local runarc service start --blocklet blocklets/arcblock --port 4900 · open this page and steps
AcceptNested step body renders inside steps chrome