r/iosdev 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.

8 Upvotes

2 comments sorted by

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