Lambdo-Labs / MDText

SwiftUI markdown

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MDText

MDText is a markdown render library built in and for SwiftUI

Usage:

import MDText
struct ContentView: View {
    var markdown = 
    """
    ** Hello MDText **
    """
    
    var body: some View {
        MDText(markdown: markdown)
    }
}

Features:

  • header
  • link
  • bold
  • hyperlink
  • emphasis

Planned:

del, quote, inline, ul, ol, blockquotes

Installation

Using Xcode 11

menu > file > Swift Packages > Add package dependency...

enter package url: https://github.com/Lambdo-Labs/MDText

About

SwiftUI markdown

License:MIT License


Languages

Language:Swift 100.0%