Following the docs for prism-react-renderer we can create a component in our Gatsby site to wrap the code block. Add a new file ./src/components/CodeBlock.jsx ...
確定! 回上一頁