It's a simple code editor where you can edit you html, css and javascript files easily.
-
npm create vite@latest .
-
npm i yjs y-codemirror y-webrtc codemirror react-icons
y-codemirror : provides us the bindings that binds Y.Text type to the CodeMirror document that is currently in use
y-webrtc : It propagates changes in editor via peer-to-peer connection between user using WebRTC
-
npm i react-codemirror2 --legacy-peer-deps
-
Add tailwind for styling
- Run
npm run build
- Upload the dist folder on netlify
- To update the website, again run
npm run build
- Go to your projects -> deploys and then upload the new dist folder
[ ] Make it collaborative
[ ] Add more themes
[ ] Add more languages
[X] Add font size - 2xl not working
[X] Store the code in localStorage
[ ] Change view