Skip to content

React Native wrapper for the Commonmark.js markdown parser.

Notifications You must be signed in to change notification settings

ccm-innovation/react-native-markdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Packages

No packages published