All Projects → mdiep → Mmmarkdown

mdiep / Mmmarkdown

Licence: other
An Objective-C framework for converting Markdown to HTML.

Projects that are alternatives of or similar to Mmmarkdown

Laravel Smartmd
🎯 A simple markdown editor compatible most markdown parse,You can choose any parse methods on server or client,like Mathematical formula、flowchart、upload image...
Stars: ✭ 76 (-93.83%)
Mutual labels:  markdown
Parvula
An extremely simple & flexible CMS generated from flat files with a complete RESTful API —
Stars: ✭ 76 (-93.83%)
Mutual labels:  markdown
Word To Markdown
A ruby gem to liberate content from Microsoft Word documents
Stars: ✭ 1,216 (-1.22%)
Mutual labels:  markdown
Markdowngenerator
Swift library to programmatically generate Markdown output and files
Stars: ✭ 76 (-93.83%)
Mutual labels:  markdown
Siyuan
📕 SiYuan is a local-first personal knowledge management system, support fine-grained block-level reference and Markdown instant-render editing.
Stars: ✭ 1,196 (-2.84%)
Mutual labels:  markdown
Markdownmonster
An extensible Markdown Editor, Viewer and Weblog Publisher for Windows
Stars: ✭ 1,203 (-2.27%)
Mutual labels:  markdown
Macdown
Open source Markdown editor for macOS.
Stars: ✭ 8,855 (+619.33%)
Mutual labels:  markdown
Gotenberg Php Client
PHP client for the Gotenberg API
Stars: ✭ 80 (-93.5%)
Mutual labels:  markdown
Linuxcontainers.org
The linuxcontainers.org website
Stars: ✭ 76 (-93.83%)
Mutual labels:  markdown
Pandoc Sidenote
Convert Pandoc Markdown-style footnotes into sidenotes
Stars: ✭ 78 (-93.66%)
Mutual labels:  markdown
Flybook
✈️ FlyBook is a simple utility to generate static website such as gh-pages, manual of you projects
Stars: ✭ 76 (-93.83%)
Mutual labels:  markdown
Jsdoc To Markdown
Generate markdown documentation from jsdoc-annotated javascript
Stars: ✭ 1,199 (-2.6%)
Mutual labels:  markdown
Markedj
JVM port of graceful markdown processor marked.js
Stars: ✭ 77 (-93.74%)
Mutual labels:  markdown
Glim
Static site generator which is semi-compatible with Jekyll
Stars: ✭ 76 (-93.83%)
Mutual labels:  markdown
Vue Md Loader
✨ Markdown files to ALIVE Vue components.
Stars: ✭ 78 (-93.66%)
Mutual labels:  markdown
React Mde
📝 React Markdown Editor
Stars: ✭ 1,196 (-2.84%)
Mutual labels:  markdown
Beautifyr
RStudio addin for formatting Rmarkdown tables
Stars: ✭ 77 (-93.74%)
Mutual labels:  markdown
Gatsby Advanced Starter
A high performance skeleton starter for GatsbyJS that focuses on SEO/Social features/development environment.
Stars: ✭ 1,224 (-0.57%)
Mutual labels:  markdown
Jokecamp.com
personal blog and website
Stars: ✭ 79 (-93.58%)
Mutual labels:  markdown
Marko
A markdown parser with high extensibility.
Stars: ✭ 77 (-93.74%)
Mutual labels:  markdown

MMMarkdown

MMMarkdown is an Objective-C framework for converting Markdown to HTML. It is compatible with OS X 10.7+, iOS 8.0+, tvOS, and watchOS.

Unlike other Markdown libraries, MMMarkdown implements an actual parser. It is not a port of the original Perl implementation and does not use regular expressions to transform the input into HTML. MMMarkdown tries to be efficient and minimize memory usage.

API

Using MMMarkdown is simple. The main API is a single class method:

#import <MMMarkdown/MMMarkdown.h>

NSError  *error;
NSString *markdown   = @"# Example\nWhat a library!";
NSString *htmlString = [MMMarkdown HTMLStringWithMarkdown:markdown error:&error];
// Returns @"<h1>Example</h1>\n<p>What a library!</p>"

The markdown string that is passed in must be non-nil.

MMMarkdown also supports a number of Markdown extensions:

#import <MMMarkdown/MMMarkdown.h>

NSString *markdown   = @"~~Mistaken~~";
NSString *htmlString = [MMMarkdown HTMLStringWithMarkdown:markdown extensions:MMMarkdownExtensionsGitHubFlavored error:NULL];
// Returns @"<p><del>Mistaken</del></p>"

Setup

Adding MMMarkdown to your project is easy.

If you’d like to use Carthage, add the following line to your Cartfile:

github "mdiep/MMMarkdown"

Otherwise, you can:

  1. Add MMMarkdown as a git submodule. (git submodule add https://github.com/mdiep/MMMarkdown <path>)

  2. Add MMMarkdown.xcodeproj to your project or workspace

  3. Add MMMarkdown.framework to the ”Link Binary with Libraries" section of your project's “Build Phases”.

  4. Add MMMarkdown.framework to a ”Copy Files” build phase that copies it to the Frameworks destination.

License

MMMarkdown is available under the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].