Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Limits and Safety

  • Limits
    • Depth ≤ 16, Nodes ≤ 50k, Input ≤ 1 MiB (configurable via API in CLI; defaults enforced in parser/validator).
    • Exceeding a limit yields a LimitExceeded parse/validate error with clear messaging.
  • Determinism
    • Same input ⇒ same AST byte-for-byte under serde JSON; golden tests verify this.
  • Safety model
    • Raw HTML blocks/inline are dropped by the parser for safety; use components instead. Rendering layers must escape content.
    • Artifacts are content-addressed; callers verify digest before render.
    • Fail closed on digest mismatches or missing artifacts.
    • Markdown tables, strikethrough, autolinks, and task lists are supported (GFM subset) without enabling raw HTML.