NativeScript Markdown View
A NativeScript plugin that provides a natively rendered markdown view.
Uses Markwon on Android and TSMarkdownParser on iOS.
Installation
Run the following command from the root of your project:
tns plugin add nativescript-markdown-view
This command automatically installs the necessary files, as well as stores nativescript-markdown-view as a dependency in your project's package.json file.
Usage
You need to add xmlns:mv="nativescript-markdown-view"
to your page tag, and then simply use <mv:MarkdownView/>
in order to add the widget to your page.
<!-- test-page.xml -->
API
Property | Default | Description |
---|---|---|
markdown | "" | The markdown to be rendered on screen |
License
MIT License, see LICENSE file