Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Lambdo-Labs/MDText
SwiftUI markdown
https://github.com/Lambdo-Labs/MDText
Last synced: about 2 months ago
JSON representation
SwiftUI markdown
- Host: GitHub
- URL: https://github.com/Lambdo-Labs/MDText
- Owner: Lambdo-Labs
- License: mit
- Created: 2019-10-09T17:49:48.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-05T23:42:03.000Z (over 4 years ago)
- Last Synced: 2024-08-03T18:12:52.680Z (5 months ago)
- Language: Swift
- Homepage:
- Size: 38.1 KB
- Stars: 131
- Watchers: 7
- Forks: 17
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-swiftui-libraries - MDText - s a markdown render library built in and for SwiftUI (Markdown / Content)
README
# MDText
MDText is a markdown render library built in and for SwiftUI
## Usage:
```swift
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