subagentswift

.com swift markdown
6 patterns, live from D1

Patterns

Every real API/type/concept cataloged from the two Swift markdown skills — 6 parsing (swift-markdown) and 6 rendering (swift-markdown-ui). Filter by category:

namecategorydescription
Custom MarkupWalker visitor (e.g. citation extraction)
swp_visitor_pattern_example
parsing A concrete struct conforming to MarkupWalker can override per-node-type visit methods (e.g. visitLink) to extract specific data while traver…
Document(parsing:)
swp_document_parsing
parsing Entry point for parsing a markdown source string into a Document AST node, from the Markdown module.
Markup AST node types
swp_ast_node_types
parsing The full set of AST node types swift-markdown parses markdown into: Markup (root), Document, Heading, Paragraph, Text, Strong, Emphasis, Cod…
MarkupWalker
swp_markupwalker
parsing A visitor-pattern protocol for read-only traversal of the parsed Markup AST, used e.g. to walk a Document after parsing.
anthropics/swift-markdown package
swp_package
parsing Swift-native CommonMark parser and AST. A fork of swiftlang/swift-markdown maintained in the Anthropic GitHub org, added via Swift Package M…
swift-markdown as a parity oracle
swp_parity_oracle
parsing style-markdown uses swift-markdown as a secondary conformance check, diffing remark output against swift-markdown output for the CommonMark+…

Machine-readable version: GET /api/patterns?category=parsing