BKDBackdown is Markdown parser for OSX and iOS.
The framework uses backdown sources to parse markdown text.
- Add the following to your Cartfile:
github "backdown/BKDBackdown" ~> 1.0
- Run
carthage update
- Add BKDBackdown as an embedded framework.
Import #import <BKDBackdown/BKDBackdown.h>
in your header file.
BKDMarkdown *markdown = [[BKDBackdown alloc] initWithText:@"# Hello world"];
NSLog(@"%@", markdown.html); // => <h1>Hello world</h1>
let markdown = BKDMarkdown(text: "# Hello world")
println(markdown.html) // => <h1>Hello world</h1>
Shintaro Kaneko kaneshin0120@gmail.com