Join and earn Bitcoin Cash for participation
MailGun (our mail provider) has blocked our domain, so at the moment no mail can go out (verification emails, notifications, etc). Support ticket opened 12 hours ago, no reply, no reason given.

Code highlighting is here

4 71 boost
Avatar for Read.Cash
Written by Banned   1604
8 months ago

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 tablename WHERE userid = 15;

JavaScript

document.querySelectorAll('.users').forEach(user => user.isAwesome());

Well, it is! 🎉

Now, your code will be highlighted.

Huge thanks goes to highlight.js.

If your favourite language is missing - let us know (in comments) and we'll add it.

2
$ 0.00
Enjoyed this article?  Earn Bitcoin Cash by sharing it! Explain
...and you will also help the author collect more tips.

Comments

Please add Java! I plan to write some Java tutorials

$ 0.00
3 months ago

Should be available in about 10 minutes.

$ 0.00
User's avatar Read.Cash Banned
3 months ago

It’s pretty awesome that you can roll it out so quick!

$ 0.00
3 months ago