I'm creating an online demo for a web technology. I need an editor that can highlight at least JavaScript. Edit functionality isn't a must.
But it must look fabulous.
What's the go-to editor for this?
I'm creating an online demo for a web technology. I need an editor that can highlight at least JavaScript. Edit functionality isn't a must.
But it must look fabulous.
What's the go-to editor for this?
For further actions, you may consider blocking this person and/or reporting abuse
Kafeel Ahmad (kaf shekh) -
Justin -
ymc9 -
Oleg Dubovoi -
Top comments (3)
I'm thinking TinyMCE. I use it on my blog when I need to post code snippets. Works great and does what I need it to.
tiny.cloud/
For just highlighting, you might want to use the
marked-element
webcomponent, which has asyntax-highlight
event that you can listen to in order to highlight the rendered markdown.<monaco-editor> looks good but uses polymer 2 i.e. HTML Imports and bower. Perhaps the author could be convinced to update to polymer 3 with es modules and npm
<ace-widget> is installed with npm and loaded with modules, supports code highlighting, check out the demos where they have a JS editor