0.0.1 • Published 6 years ago

parcel-plugin-react-markdown v0.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

POLITICO

parcel-plugin-react-markdown

A plugin for Parcel.js bundler that renders markdown files into React components using react-markdown.

Use

  1. Install the plugin

    $ yarn add parcel-plugin-react-markdown
  2. 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