Display Markdown in a UITextView on iOS 8+ without converting to HTML first.
- Handle asynchronous download of inline images.
- Handle most GitHub and Bitbucket extensions for basic Markdown.
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)
@thabz on Twitter.
MarkdownTextView is licensed under the MIT License. See LICENSE
for more information.