Community Plugin
View plugin on GitHub@johnlindquist/gatsby-remark-embed-codesandbox
Embed a Codesandbox Editor in your Markdown
Install
- Install plugin to your site:
npm i @johnlindquist/gatsby-remark-embed-codesanbox
- Add following to your
gatsby-config.js
:
plugins: [
{
resolve: "gatsby-transformer-remark",
options: {
plugins: [
{
resolve: "@johnlindquist/gatsby-remark-embed-codesandbox",
}
]
}
},
- Restart gastby.
Usage
The following will now be converted to a proper iframe:
[https://codesandbox.io/embed/o52jlrvjwy?view=editor](https://codesandbox.io/embed/o52jlrvjwy?view=editor)
License
MIT