/CocoaHoedown

Render HTML from Markdown

Primary LanguageObjective-CMIT LicenseMIT

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.