/MarkdownTextView

Display Markdown in a UITextView without converting to HTML first

Primary LanguageSwiftOtherNOASSERTION

Build Status Carthage compatible

README

Display Markdown in a UITextView on iOS 8+ without converting to HTML first.

Features

  • Handle asynchronous download of inline images.
  • Handle most GitHub and Bitbucket extensions for basic Markdown.

Usage

Drag the MarkdownTextStorage.swift into your XCode project.

let markdown = "See [GitHub](https://github.com/)"
let storage = MarkdownTextStorage(markdown)
let textView = MarkdownTextView()
textView.markdownTextStorage = storage
subviews.append(textView)

Contact

@thabz on Twitter.

License

MarkdownTextView is licensed under the MIT License. See LICENSE for more information.