Parse Markdown in a Tabris.js app, safely ignoring features not supported by the Tabris.js TextView widget.
Supported features:
- https://www.markdownguide.org/basic-syntax/#headings
- https://www.markdownguide.org/basic-syntax/#paragraphs-1
- https://www.markdownguide.org/basic-syntax/#emphasis
- https://www.markdownguide.org/extended-syntax/#strikethrough
- https://www.markdownguide.org/basic-syntax/#links
new TextView({
text: new MarkdownParser(text).toHtml(),
markupEnabled: true
});