DEV Community

Discussion on: How To Add Monaco Editor to a Next.js app

Collapse
 
ahmadawais profile image
Ahmad Awais ⚡️

This is pretty fucking amazing. I've been meaning to work on something like this since all the syntax highlighting choices available are nowhere near as good as the Monaco editor. And I built the Shades of Purple theme because I like the right set of colors for the syntax — this will be a huge help for the new version of my site.

Thank you! 👌

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt

Note that Monaco is not mobile supported. That turns me off, and had to fall back to CodeMirror...

Collapse
 
swyx profile image
swyx

doesnt monaco use codemirror under the hood?

Thread Thread
 
patarapolw profile image
Pacharapol Withayasakpunt

I don't know. I just believe what it says in the website -- microsoft.github.io/monaco-editor/

Thread Thread
 
swyx profile image
swyx

ah. i've tried it briefly on mobile web sites. it can work. but maybe not as well as you might want.