Search the Community
Showing results for tags 'syntax highlight'.
Found 2 results
Hi, W3 Schools has a great syntax highlighter here https://www.w3schools.com/howto/howto_syntax_highlight.asp and in the 'try it yourself' section I got it to work fine with my own HTML example. How do you get it work with CSS and JS though? When you cut and past CSS or JS into the `#myDiv` div it just outputs the CSS or JS as plain text with no syntax highlighting. Any help would be amazing Paul
Will be very nice to replace textarea on "Try it yourself" pages on Ace editor. Demo: http://ace.c9.io/build/kitchen-sink.html Some of options: – Syntax highlighted editor; – Themes; – Highlight errors for HTML,CSS,JS,PHP,...; – Emmet; – Find/Replace by text/regexp – and more. Keyboard Shortcuts: https://github.com/ajaxorg/ace/wiki/Default-Keyboard-Shortcuts Simple variant: http://jsfiddle.net/ertutggz/5/