Skip to content

velvetroom/markdownhero

Repository files navigation

Markdown Hero

The best markdown parser ever.

iOS Swift Bitrise

Implementation

Install

You can get MarkdownHero with CocoaPods.

Add to your Podfile

pod 'MarkdownHero'

Install and download

> pod install

If you are wondering what is CocoaPods take a look at: https://cocoapods.org

Usage

Import MarkdownHero in your class

import MarkdownHero

Make a parser

let parser = Parser()

Let the magic begin

parser.parse(string:"# hello world") { [weak self] result in
    // result is an attributed string
}

Demo

Clone or download this repository, it contains a simple Demo application that will show you the power of MarkdownHero.