Skip to content

vhbit/CocoaHoedown

 
 

Repository files navigation

CocoaHoedown

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

Installation

Right now it could be installed from a git repo, like:

pod 'CocoaHoedown', :git => 'https://github.com/js/CocoaHoedown.git'

Usage

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 88.9%
  • Ruby 11.1%