TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Sep 2017 |
SwiftSwift Version | 3.0 |
SPMSupports SPM | ✗ |
Maintained by Assaf Yehudai.
To run the example project, clone the repo, and run pod install
from the Example directory first.
MarkDownKit is available through CocoaPods. To install
it, simply add the following line to your Podfile:
pod 'ChatyMarkDownKit', '~>0.5.0'
AssafYehudai, [email protected]
MarkDownKit is available under the MIT license. See the LICENSE file for more info.
let TEXT = "`*_Lorem ipsum dolor_* sit er elit lamet, consectetaur *cillium adipisicing pecu, *sed` do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,*quis nostrud* exercitation ullamco laboris nisi `ut aliquip ex ea commodo consequat.` Duis aute irure *dolor in _reprehenderit* in voluptate_ velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, _sunt in culpa_ qui officia deserunt mollit anim id est laborum. Nam liber te *conscient to factor* tum poen legum odioque civiuda."
var textView: UITextView!
init() {
textView.attributedText = MarkDown(string: TEXT).markDown()
}