Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 667 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 667 Bytes

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.