The MarkedView is the markdown text viewer.
select the best one from UIWebview or WKWebview.
-
UIMarkedView
- UIWebView base
-
WKMarkedView
- WKWebView base
It is a simple module, which enable you to convert any files into initialized view.
// Swift
import MarkedView
・・・
// WKWebView base
let mdView = WKMarkedView()
// view set
self.view = mdView
// set Markdown text pattern
mdView.textToMark(contents)
// or load Markdown file pattern
// mdView.loadFile(filePath)
MarkedView is available through CocoaPods.
To install it, simply add the following line to your Podfile
:
pod 'MarkedView'
Then run the following command:
$ pod install
- MarkedView-for-Android
https://github.com/mittsuu/MarkedView-for-Android
MarkedView is available under the MIT license. See the LICENSE file for more info.