Code highlighting is here This was pretty boring and hard to read, right?
Imagine if it was like this: CSS .editor { margin-right: 10px; } HTML <div id="test">The text</div> PHP $variable = 'test'; SQL SELECT * FROM table*name WHERE user*id = 15; JavaScript document.querySelectorAll('.users').forEach(user => user.isAwesome()); Well, it is! π Now, your code will be highlighted. Huge thanks goes to highlight.js. https://highlightjs.org/ If your favourite language is missing - let us know (in comments) and we'll add it.
3 comments
Please add Java! I plan to write some Java tutorials
Should be available in about 10 minutes.
Itβs pretty awesome that you can roll it out so quick!