Skip to content

About

React Native wrapper for the Commonmark.js markdown parser.

Resources

Stars

3 stars

Watchers

5 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

Repository files navigation

React Native CommonMark Markdown

Based on Rexxars' implementation for React. Also incorporating styles from CharlesMangwa's React Native Simple Markdown.

Installation

yarn add react-native-commonmark-markdown

Usage

import ReactNativeMarkdown from 'react-native-commonmark-markdown';
var markdownToRender = '# This is a header!\n\nAnd this is a **paragraph**\n\n*Emphasis* is good.\n\n### Heading 3';

<ReactNativeMarkdown>{markdownToRender}</ReactNativeMarkdown>

Props

About

React Native wrapper for the Commonmark.js markdown parser.

Resources

Stars

3 stars

Watchers

5 watching

Forks

Releases

Packages

Used by

Contributors

Languages