Ask coding questions

← Back to all posts
Help meh and win 5 cycles - its important! pls click here!
LegendaryWolf (649)

I'm working on a project name Alpha Code. It's a LIVE code editor
everything works fine like codepen.io but I have a problem -
how to add syntax highlighting to it? (I'm a noob is JS)

Answered by Coder100 (16968) [earned 5 cycles]
View Answer
Comments
hotnewtop
Coder100 (16968)

https://microsoft.github.io/monaco-editor/index.html

this is how replit did it
and this is how I made whaleboat
will u join the monaco gang

IntellectualGuy (681)

First of all you need to do the CSS

IntellectualGuy (681)

@LegendaryWolf It really depends on your wants, do you want to add me to the repl, I can help you with the css, don't know the js though.