Closed
Description
The editor has cod syntax highlighting, but it is not quite there. I think there are a couple of issues, specifically
- The colors/what the colors map to could be adjusted. You can see the current mapping in _p5-light-codemirror-theme.scss, and the corresponding files for the dark/high contrast themes, and this blog post explains how the class names map to significant words.
- Adding custom highlighting to p5.js specific words. We discussed having some document with an array of p5.js keywords, or possibly another solution. This was implemented in the desktop editor.