subagentswift

.com swift markdown

← all patterns

MarkdownTheme

rendering swp_markdowntheme
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) } }
provenance

source_doc style-swift-markdown-ui/SKILL.md · created 2026-07-02 04:47:01 · JSON

See Parsing vs. Rendering for how these two layers of the pipeline relate.