Display Markdown in a UITextView without converting to HTML first
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
MarkdownTextView.xcodeproj
MarkdownTextView
MarkdownTextViewKit
MarkdownTextViewKitTests
MarkdownTextViewTests
.gitignore
.travis.yml
LICENSE
README.md

README.md

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.