MDText is a markdown render library built in and for SwiftUI
import MDText
struct ContentView: View {
var markdown =
"""
** Hello MDText **
"""
var body: some View {
MDText(markdown: markdown)
}
}
- header
- link
- bold
- hyperlink
- emphasis
del, quote, inline, ul, ol, blockquotes
Using Xcode 11
menu > file > Swift Packages > Add package dependency...
enter package url: https://github.com/Lambdo-Labs/MDText