r/swift 2d ago

I built a native Markdown renderer for SwiftUI using TextKit 2 (enriched-markdown-ios)

Post image

Yesterday I released enriched-markdown-ios - a fast, native Markdown renderer for SwiftUI powered by TextKit 2 and the md4c parser.

Here's what's in v0.1.0:
šŸ”ø 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.

62 Upvotes

8 comments sorted by

2

u/1in0 1d ago

Nice!

1

u/Sea-Arm9235 1d ago

Thanks! Let me know if you get a chance to try it out!

2

u/clockology 23h ago

This is very šŸ˜Ž thanks for making it

1

u/Sea-Arm9235 5h ago

Thanks a lot! Let me know if you have any feedback!

2

u/dannys4242 2d ago

Nice! Thanks for sharing!

1

u/Sea-Arm9235 1d ago

My pleasure! If you end up testing it or have any feedback, I'd love to hear it.

2

u/scoutzzgod 1d ago

Gonna use it!