UNPKG
remark-codesandbox
Version:
latest (0.10.1)
0.10.1
0.10.0
0.9.0
0.8.2
0.8.1
0.8.0
0.7.1
0.7.0
0.6.0
0.5.2
0.5.1
0.5.0
0.4.0
0.3.0
0.2.1
0.2.0
0.1.1
0.1.0
🎩 Create CodeSandbox directly from code blocks
kevin940726/remark-codesandbox
remark-codesandbox
/
gatsby
/
index.js
5 lines
(3 loc)
•
154 B
JavaScript
View Raw
1
2
3
4
5
const
toGatsbyRemarkPlugin =
require
(
'to-gatsby-remark-plugin'
);
const
codesandbox =
require
(
'../'
);
module
.
exports
=
toGatsbyRemarkPlugin
(codesandbox);