js / CocoaHoedown

Render HTML from Markdown

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CocoaHoedown

CocoaHoedown is an Objective-C wrapper for hoedown, which renders HTML from Markdown.

How To

JKSMarkdownDocument *renderer = [[JKSMarkdownDocument alloc] initWithString:@"\"clever -- pants\"..."];
renderer.smartyPantsEnabled = YES;
NSString *output = [renderer HTML]; // "<p>&ldquo;clever &ndash; pants&rdquo;&hellip;</p>\n"

Credits

CocoaHoedown is just a simple wrapper around hoedown, all credit for the actual markdown parsing and rendering goes to the authors of hoedown.

License

Released under the MIT License.

About

Render HTML from Markdown

License:MIT License


Languages

Language:Objective-C 98.0%Language:Ruby 2.0%