0.3.3 • Published 6 years ago

documittu-markdown-loader v0.3.3

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

This is a fork of react-markdown-loader that is customized to fit documittu.

This loader parses markdown files and converts them to a React Stateless Component. It will also parse FrontMatter to import dependencies and render components along with it’s source code.

Usage

In the FrontMatter you should import the components you want to render with the component name as a key and it's path as the value

---
imports:
  HelloWorld: './hello-world.js',
  '{ Component1, Component2 }': './components.js'
---

hello-world.md