TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | May 2017 |
SwiftSwift Version | 3.0.2 |
SPMSupports SPM | ✓ |
Maintained by Caleb Kleveter.
SwiftMark is a Markdown renderer built in swift.
SwiftMark is a SwiftPM package, but if you want to add it manually to a project, you can just add the files.
Using SwiftMark is very simple. Just create a renderer, call render
, and pass in the Markdown text.
let renderer = MarkdownRenderer()
let html = renderer.render(markdownText)
The whole SwiftMark package is under the MIT license agreement.
Thanks to @matthewcheok and his tutorial on Writing a Lexer in Swift.