TPT Syntax Highlighted Code Boxes

Syntax highlights <code> boxes on the powder toy forums.

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

Autor
Johannes Kadak
Denně instalací
0
Celkem instalací
21
Hodnocení
0 0 0
Verze
1.3.0
Vytvořeno
30. 11. 2014
Aktualizováno
06. 12. 2014
Size
3,7 KB
Licence
neuvedeno
Spustit na

Description

This script highlights <code> boxes on powdertoy.co.uk. It uses Highlight.js for that, with a nice style that looks sort of like GitHub's code viewer. Here's an image:

Changelog

1.0: First release.
1.1: Second release - parry a weird timing bug that should definitely never happen.

Download

Either here, or on gist.github.com: https://gist.github.com/boxmein/53666432360934db4cd6

License

This script is free to use under the MIT license. &copy: 2014 boxmein (Johannes Kadak).