Skip to content

appsailor/MarkedView-for-iOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MarkedView

Version License Platform

img_gif

Introduction

The MarkedView is the markdown text viewer.

select the best one from UIWebview or WKWebview.

  • UIMarkedView

    • UIWebView base
  • WKMarkedView

    • WKWebView base

Usage

The same process except the initialization.

Call is available from any text from any file.

Sorry the local file is only able to display PNG image.
Please other image showed URL.

// 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)

Installation

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

See Also

License

MarkedView is available under the MIT license. See the LICENSE file for more info.

About

The MarkedView is the markdown text viewer

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 45.1%
  • Shell 23.3%
  • Swift 20.0%
  • CSS 8.4%
  • Objective-C 1.3%
  • Ruby 1.2%
  • HTML 0.7%