A powerful pure UIKit framework for rendering Markdown documents with real-time parsing and rendering capabilities. Battle tested in FlowDown.
- 🚀 Real-time Rendering: Live Markdown parsing and rendering as you type
- 🎨 Syntax Highlighting: Beautiful code syntax highlighting with Splash
- 📊 Math Rendering: LaTeX math formula rendering with SwiftMath
- 📱 iOS Optimized: Native UIKit implementation for optimal performance
Add the following to your Package.swift
file:
dependencies: [
.package(url: "https://github.com/Lakr233/MarkdownView", from: "0.1.5"),
]
Platform compatibility:
- iOS 13.0+
- Mac Catalyst 13.0+
import MarkdownView
import MarkdownParser
let parser = MarkdownParser()
let document = parser.feed("hi")
markdownTextView.nodes = document
Check out the included example project to see MarkdownView in action:
cd Example
open Example.xcodeproj
This project is licensed under the MIT License. See the LICENSE file for details.
This project includes code adapted from swift-markdown-ui by Guillermo Gonzalez, used under the MIT License.
Copyright 2025 © Lakr Aream. All rights reserved.