Document(parsing:)
description
Entry point for parsing a markdown source string into a Document AST node, from the Markdown module.
source reference
Markdown module
api surface
let document = Document(parsing: source)provenance
source_doc style-swift-markdown/SKILL.md · created 2026-07-02 04:47:01 · JSON
See Parsing vs. Rendering for how these two layers of the pipeline relate.