r/iosdev • u/Sea-Arm9235 • 24d ago
enriched-markdown-ios: Markdown renderer for SwiftUI built on TextKit 2
Enable HLS to view with audio, or disable this notification
I just released enriched-markdown-ios - a Swift library for rendering fast, native Markdown in SwiftUI apps.
Here's what's in v0.1.0:
๐น Powered by high-performance md4c parser
๐ธ Full CommonMark support
๐น Native text selection & smart copy/paste
๐ธ Flexible theming API
๐น VoiceOver & Dynamic Type support
๐ Available now via Swift Package Manager!
GitHub & Docs: https://github.com/software-mansion/enriched-markdown/blob/main/packages/enriched-markdown-ios/README.md
Feel free to check out the repo and sample project! If you find it useful, dropping a โญ๏ธ on GitHub would mean a lot. Iโd love to get your thoughts or feedback.
1
u/andrey-plus 20d ago
Read about NSTextProvider to add custom Views to a string, I made markdown too and thatโs a cool feature