Markdown alternatives and similar libraries
Based on the "Text" category.
Alternatively, view Markdown alternatives based on common mentions on social networks and blogs.
-
PhoneNumberKit
A Swift framework for parsing, formatting and validating international phone numbers. Inspired by Google's libphonenumber. -
TwitterTextEditor
A standalone, flexible API that provides a full-featured rich text editor for iOS applications. -
RichEditorView
DISCONTINUED. RichEditorView is a simple, modular, drop-in UIView subclass for Rich Text Editing. -
Atributika
Convert text with HTML tags, links, hashtags, mentions into NSAttributedString. Make them clickable with UILabel drop-in replacement. -
Mustard
🌭 Mustard is a Swift library for tokenizing strings when splitting by whitespace doesn't cut it. -
PrediKit
An NSPredicate DSL for iOS, OSX, tvOS, & watchOS. Inspired by SnapKit and lovingly written in Swift. -
AttributedTextView
Easiest way to create an attributed UITextView (with support for multiple links and from html) -
OysterKit
OysterKit is a framework that provides a native Swift scanning, lexical analysis, and parsing capabilities. In addition it provides a language that can be used to rapidly define the rules used by OysterKit called STLR
CodeRabbit: AI Code Reviews for Developers

* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Markdown or a related project?
README
Markdown
Full markdown support for Swift - wrapper over Discount (this actually is what GitHub uses deep down)
Goals
Markdown library was mainly introduced to fulfill the needs of Swift Express - web application server side framework for Swift.
Still we hope it will be useful for everybody else.
Getting started
Installation
Prerequisites
First of all you need to install Discount.
OS X:
#this one install a static library, so don't worry about redistribution
brew install discount
Linux:
sudo apt-get install libmarkdown2-dev
Package Manager
Add the following dependency to your Package.swift:
.Package(url: "https://github.com/crossroadlabs/Markdown.git", majorVersion: 0)
Run swift build
and build your app. Package manager is supported on OS X, but it's still recommended to be used on Linux only.
Carthage
Add the following to your Cartfile:
github "crossroadlabs/Markdown"
Run carthage update
and follow the steps as described in Carthage's README.
Examples
Hello Markdown
let md = try Markdown(string:"# Hello Markdown")
let document = try md.document()
print(document)
The output will be the following:
<h1>Hello Markdown</h1>
Metadata
let md = try Markdown(string:"% test\n% daniel\n% 02.03.2016\n")
let title = md.title!
let author = md.author!
let date = md.date
print("Title: ", title)
print("Author: ", author)
print("Date: ", date)
The output will be the following:
Title: test
Author: daniel
Date: 02.03.2016
Table of contents
let md = try Markdown(string:"# test header", options: .TableOfContents)
let toc = try md.tableOfContents()
print(toc)
The output will be the following:
<ul>
<li><a href=\"#test.header\">test header</a></li>
</ul>
Style
let md = try Markdown(string:"<style>background-color: yellow;</style>\n# test header")
let css = try md.css()
print(css)
The output will be the following:
<style>background-color: yellow;</style>
Have a nice marking down ;)
Contributing
To get started, sign the Contributor License Agreement.
by Crossroad Labs
*Note that all licence references and agreements mentioned in the Markdown README section above
are relevant to that project's source code only.