+ 4

Syntax highlighter?

I need a syntax highlighter for code snippets. Can anyone help me?

11th Jun 2018, 10:51 PM
Daniel Cooper
Daniel Cooper - avatar
5 Answers
11th Jun 2018, 10:56 PM
bobbie
bobbie - avatar
+ 5
Thanks Mickel Sánchez and [user id="6299650"]bobbie[/user] for the links [user id="8559538"]Daniel Cooper[/user] 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.
12th Jun 2018, 12:24 PM
Biel Blue
Biel Blue - avatar
+ 3
I use Notepad++ It has options to display many programming languages.
11th Jun 2018, 10:56 PM
Duncan
Duncan - avatar
+ 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/
11th Jun 2018, 11:23 PM
Mickel
Mickel - avatar
+ 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.
12th Jun 2018, 8:29 PM
Daniel Cooper
Daniel Cooper - avatar