subagentswift

.com swift markdown
12 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+…
Citation footnote rendering
swp_citation_rendering
rendering For mailbox-mcp envelopes displayed in iOS, citations of the form [^csl:id] are rendered as tappable superscript footnotes using MarkdownUI …
Markdown(_:) view
swp_markdown_view
rendering The core SwiftUI view type from MarkdownUI that renders a markdown string directly, used inside a normal SwiftUI view body.
MarkdownTheme
swp_markdowntheme
rendering The theming API for customizing how each markdown element renders — e.g. .text{} and .code{} builder methods that configure font, color, pad…
Platform support
swp_platform_support
rendering swift-markdown-ui supports iOS 15+, macOS 12+, tvOS 15+, and watchOS 8+.
Supported rendered elements
swp_supported_elements
rendering The full set of markdown elements swift-markdown-ui renders: headings (1-6), paragraphs, bold/italic/strikethrough, code blocks with syntax …
anthropics/swift-markdown-ui package
swp_ui_package
rendering Native SwiftUI markdown renderer. A fork of gonzalezreal/swift-markdown-ui maintained in the Anthropic GitHub org, added via Swift Package M…

Machine-readable version: GET /api/patterns