vite-plugin-react-pages
vite-plugin-react-pages copied to clipboard
How to add CodeSandbox to a demo block
I want to add the ability to jump to the CodeSandbox editor in the toolbar of the Demo Block, but right now there are only icons for expanding and collapsing the code. How can I add this feature?
It is currently not supported, but it is a nice feature and we should implement it! I can work on it when I have time this month. Contribution is also welcome. This feature should start with changing https://github.com/vitejs/vite-plugin-react-pages/blob/main/packages/theme-doc/src/Layout/Demo/index.tsx . Look contributing.md in this repo for more detailed instruction.