Skip to content

baktiaditya/gatsby-reactdown

 
 

Repository files navigation

gatsby-reactdown

This is an example repository demonstrating how to use reactdown with gatsby.

How this works together:

  1. Modify the webpack config to include reactdown. This can be done using gatsby's modifyWebpackConfig API.

  2. Add a .reactdown file registering your components with reactdown. The documentation for this is almost nonexistent, but the documentation site in progress serves as an excelent example.

  3. Modify the wrapper used by gatsby for markdown files. This can be done by creating a file at wrappers/md.js.

Your markdown files are now a bunch of React components 🎉

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%