Skip to content
This repository has been archived by the owner on Jul 29, 2021. It is now read-only.

kaneshin-archive/BKDBackdown

Repository files navigation

BKDBackdown

Carthage compatible

BKDBackdown is Markdown parser for OSX and iOS.

The framework uses backdown sources to parse markdown text.

Installation

Carthage

  1. Add the following to your Cartfile: github "backdown/BKDBackdown" ~> 1.0
  2. Run carthage update
  3. Add BKDBackdown as an embedded framework.

Usage

Import #import <BKDBackdown/BKDBackdown.h> in your header file.

Objective-C

BKDMarkdown *markdown = [[BKDBackdown alloc] initWithText:@"# Hello world"];
NSLog(@"%@", markdown.html); // => <h1>Hello world</h1>

Swift

let markdown = BKDMarkdown(text: "# Hello world")
println(markdown.html)  // => <h1>Hello world</h1>

License

The MIT License (MIT)

Author

Shintaro Kaneko kaneshin0120@gmail.com

About

BKDBackdown is Markdown parser for OSX and iOS.

Resources

License

Stars

Watchers

Forks

Packages

No packages published