Renders MakeCode code snippets into images as part of the Gatsby build.
- add plugin
npm install --save gatsby-remark-makecode
or
yarn add gatsby-remark-makecode
- add puppeteer dependency to your project (full or core)
- add entry in remark section before any image processing pluging
"gatsby-remark-makecode",
In your .md, .mdx files, you can insert JavaScript snippets to be rendered in blocks.
```blocks
let x = 0
```
- install node.js and yarn globally
- build
yarn build
- watch
yarn watch
Classes
makecode
on the containerblocks
on the image
This project welcomes contributions and suggestions.