+ 4
Syntax highlighter?
I need a syntax highlighter for code snippets. Can anyone help me?
5 Answers
+ 6
This may help
https://www.w3schools.com/howto/howto_syntax_highlight.asp
Best of Luck!!!đ
+ 5
Thanks Mickel SĂĄnchez and bobbie for the links
Daniel Cooper for Web Development I recommend editors focused for Web Development like:
>> Sublime Text
>> ATOM
I use VSCode but the syntax highlight of it for HTML / CSS is not so nice and organized to look at.
+ 3
I use Notepad++
It has options to display many programming languages.
+ 3
I know three alternatives that you can use:
1. Pygments. It's quite popular, and it's written in Python: http://pygments.org/
2.Rouge Alternative to Pygments written in Ruby: https://github.com/jneen/rouge
3. Highlight.js. The name is very descriptive, lol: https://highlightjs.org/
+ 2
Well, I just wanted it for a Sololearn code. So downloading something would not have helped, but thanks guys. Luckily, I found it on w3 schools and got it working.