react-markdown-component
v0.1.1
Published
a markdown element/component for react parses and renders markdown text
Downloads
2
Maintainers
Readme
react-markdown-component
USAGE
import Markdown from 'react-markdown-component'
const el = <Markdown ref="marked" markdown={this.state.value} />
PROPS
Markdown.propTypes = {
markdown: PropTypes.string,
pedantic: PropTypes.bool,
sanitize: PropTypes.bool,
smartypants: PropTypes.bool,
// While this element has a default css style, you can import your cutomized markdown css style and passed it to the Marked element
style: PropTypes.object
}