{"repo":"onmyway133/swiftui-markdown","free":true,"listed":false,"github":"https://github.com/onmyway133/swiftui-markdown","clone":"git clone https://github.com/onmyway133/swiftui-markdown.git","description":"Zero-dependency SwiftUI markdown renderer","language":"Swift","stars":46,"topics":["markdown","swiftui"],"license":null,"category":"mobile-apps","readme_excerpt":"SwiftUIMarkdown A zero-dependency SwiftUI markdown renderer for iOS 18, macOS 15, and beyond. Built on Foundation's AttributedString with PresentationIntent run-walking — no third-party parsers, no heavyweight abstractions. --- Features - Full block-level rendering — headings H1–H6, paragraphs, ordered and unordered lists, code blocks, block quotes, tables, thematic breaks - Inline formatting — bold, italic, strikethrough, inline code, links - Zero dependencies — built entirely on Foundation and SwiftUI - Simple theming — one MarkdownTheme struct, no protocol hierarchies - Swift 6 strict concurrency — fully Sendable , safe across actors - Interactive playground — live editor + theme comparison built in --- Quick Start Add the package to your Package.swift : Render markdown: Inline-only text: --- Block Type Support Block Syntax Notes ------- -------- ------- Heading # H1 … ###### H6 Levels 1–6 Paragraph Plain text Inline formatting supported Unordered list - item Nested via indentation Ordered list 1. item Ordinal labels Code block swift MarkdownView(markdown) .markdownTheme(.github) swift var theme = MarkdownTheme.default theme.headingColor = .purple theme.quoteBarColor = .purple theme.linkColor = .orange theme.blockSpacing = 16 MarkdownView(markdown) .markdownTheme(theme) sh open Examples/MarkdownPreview/MarkdownPreview.xcodeproj MarkdownView(markdown) │ ▼ AttributedString(markdown:, options: .full) │ ▼ attrStr.blockGroups() ← walks runs, groups by PresentationIntent identit","default_branch":null,"files":null,"tree":[],"storefront":"/r/onmyway133","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/onmyway133/swiftui-markdown/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}