Rendering Markdown in SwiftUI
SwiftUI renders inline Markdown only. Use Text with LocalizedStringKey for dynamic strings; links are tappable and configurable via openURL (iOS 26: prefersInApp). For advanced control, parse with AttributedString(markdown:including:), style runs (e.g., underline/color), and add custom attributes via DecodableAttributedStringKey. Lists/quotes aren’t supported; malformed attributes can throw.