apple/swift-markdown

MarkdownText powered by swift-markdown

Closed this issue ยท 5 comments

Just wanted to say thanks for open sourcing this. ๐Ÿ‘

This enabled me to build a really cool open source package MarkdownText that provides similar support to Apples iOS 15+ Text markdown support.

But it works back to iOS 13+ and macOS 11+ and even includes a lot of styling APIs.

Bit of a shameless plug but wanted to mention it here in case it's useful to anyone else.

  • Headings
  • Paragraphs
  • Quotes
  • Inline formatting
    • Strong/Bold
    • Emphasis/Italic
    • Strikethrough
    • Code
    • Links (non interactive only)
  • Lists
    • Ordered
    • Unordered
    • Checklist (GitHub style)
  • Thematic Breaks
  • Code Blocks
  • Images

A full backport of AsyncImage is included to make image support simple and performant.

Since it's pure SwiftUI you can even easily animate content which is a nice plus.

On a side note I noticed the library doesn't currently support ordered list indexes that don't start from 1. Would be amazing if this could be added ๐Ÿ‘๐Ÿ‘

"Ordered lists that don't start from 1" is being added in #22 โœŒ๏ธ

Thanks for the shoutout!

Is there another bug report you wanted to include? You might get a better reach for your project if you post about it in the Swift Forums instead of a GitHub issue.

Good shout thanks, will do!

I'm going to close this since it's not a bug report or feature request. If you have something you'd like to see in Swift-Markdown, definitely let us know!