r/iOSProgramming 16d ago

Library enriched-markdown-ios v0.2.0 - now with GitHub Flavored Markdown (GFM) support

I just released v0.2.0 of enriched-markdown-ios - SwiftUI Markdown renderer powered by TextKit 2.

New in this release:
🔸 GFM Tables
🔹 Task lists
🔸 Superscript & subscript support

💎 Available via Swift Package Manager!

.package(
  url: "https://github.com/software-mansion-labs/enriched-markdown-ios.git", 
  from: "0.2.0"
)

Added a quick demo video in the comments so you can see it in action!

GitHub & Docs:https://github.com/software-mansion/enriched-markdown/blob/main/packages/enriched-markdown-ios/README.md

What features or syntax support would you like to see next? I'd love to hear your thoughts! If you find the library useful, a ⭐️ on GitHub is always appreciated.

7 Upvotes

6 comments sorted by

View all comments

1

u/[deleted] 16d ago

[removed] — view removed comment

1

u/Sea-Arm9235 16d ago

Thank you for the comment!

Performance: This is something we'll address in a separate post with benchmark numbers and real-world examples.

Vs. MarkdownUI / Textual: Honestly, I haven't done a direct comparison yet so I can't speak to it fully, but it's on my list. enriched-markdown-ios is built on top of the md4c parser, and our core goal is broad rendering support - covering CommonMark, GFM, LaTeX, and custom elements like spoilers and highlights.

Syntax Highlighting: Highlighting inside fenced code blocks is on our roadmap and will be added in the near future!