pest-parser / site

This repo contains the source code for https://pest.rs
http://pest.rs/
Apache License 2.0
13 stars 16 forks source link

Proposal to upgrade site implementations. #32

Closed huacnlee closed 1 year ago

huacnlee commented 1 year ago
  1. [ ] Switch CodeMirror to Monaco Editor. Monaco Editor have a better API for code editing, for example diagnostics.
  2. [x] Integration Tailwind CSS for better CSS development and add mobile support.
  3. [x] Add Vite as the front-end build tool.
  4. [x] JavaScript to TypeScript and Use React for build view.
  5. [ ] Add a link on top right navigation bar (Before the Book), named Play.

If we agree that, I can do it.

LeoDog896 commented 1 year ago

(We did discuss parcel vs vite in #30, as well as not using tailwind).

tomtau commented 1 year ago

Yes, I'd second that and prefer keeping the site simpler/lighter. For the more advanced stuff, it's perhaps better to do it in the VSCode extension, and prepare a devcontainer / gitpod file, so that one can easily spin up the full fledged editor in GitHub Codespaces or Gitpod.io ?