0.0.1 • Published 6 years ago
parcel-plugin-react-markdown v0.0.1
parcel-plugin-react-markdown
A plugin for Parcel.js bundler that renders markdown files into React components using react-markdown.
Use
Install the plugin
$ yarn add parcel-plugin-react-markdown
Import your markdown files!
import React from 'react'; import ReactDOM from 'react-dom'; import MarkdownComponent from './Markdown.md'; ReactDOM.render(<MarkdownComponent/>, document.getElementById('app'));
Test
$ npm test
0.0.1
6 years ago