react-material-markdown-element

React Material Markdown Element

Usage no npm install needed!

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

README

React Material Markdown Element

The Markdown Element Component used by the material ui documentation as a standalone NPM package.

Installation & Usage

npm install --save react-material-markdown-element
import MarkdownElement from 'react-material-markdown-element';
import readmeText from 'readme.md';

...

const title = `# My Readme:`;

const example = () => (
  <div>
    <MarkdownElement text={title} />
    <MarkdownElement text={readmeText} />
  </div>
);

Credits

See MarkdownElement.js.