{
  "pattern": {
    "id": "swp_markdowntheme",
    "name": "MarkdownTheme",
    "category": "rendering",
    "description": "The theming API for customizing how each markdown element renders — e.g. .text{} and .code{} builder methods that configure font, color, padding, and background per element type.",
    "source_reference": "MarkdownUI module",
    "api_surface": "extension MarkdownTheme { static let anthropic = MarkdownTheme().text { $0.label.font(.body) }.code { $0.label.font(.system(.body, design: .monospaced)).padding(8) } }",
    "source_doc": "style-swift-markdown-ui/SKILL.md",
    "created_at": "2026-07-02 04:47:01",
    "cite_as": "https://subagentswift.com/api/patterns/swp_markdowntheme"
  }
}