react-markdown-file

React component to retrieve and render a standalone markdown file

Usage no npm install needed!

<script type="module">
  import reactMarkdownFile from 'https://cdn.skypack.dev/react-markdown-file';
</script>

README

react-markdown-file

A simple react component to retrieve and render a standalone markdown file

Getting started

Install via npm:

npm install --save react-markdown-file

Then simply require and pass a file name.

var MarkdownFile = require('react-markdown-file');

<MarkdownFile fileName='README.md'/>