OCDiscount Class Reference
| Inherits from | NSObject |
| Declared in | OCDiscount.h |
Class Methods
convertMarkdownFileAtPath:error:
Converts the markdown in a file at the given path to an HTML string.
+ (NSString *)convertMarkdownFileAtPath:(NSString *)path error:(NSError **)errorParameters
- path
The path of the file whose contents you want.
- error
The error that was encountered.
Return Value
Returns an HTML string or nil if the string couldn’t be converted.
Availability
Available in 0.2.0 or later.
See Also
Declared In
OCDiscount.hconvertMarkdownFileAtURL:error:
Converts the markdown in a file at the given url to an HTML string.
+ (NSString *)convertMarkdownFileAtURL:(NSURL *)url error:(NSError **)errorParameters
- url
The url of the file whose contents you want.
- error
The error that was encountered.
Return Value
Returns an HTML string, or nil if the string couldn’t be converted.
Availability
Available in 0.2.0 or later.
See Also
Declared In
OCDiscount.h