TPT Syntax Highlighted Code Boxes

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

As of 30.11.2014. See ბოლო ვერსია.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

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

(I already have a user script manager, let me install it!)

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.

(I already have a user style manager, let me install it!)

ავტორი
Johannes Kadak
რეიტინგი
0 0 0
ვერსია
1.0.0
შექმნილია
30.11.2014
განახლებულია
30.11.2014
Size
2,79 KB
ლიცენზია
პ/გ
გამოყენებს მათ

Description

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

lol image

Changelog

1.0: First release.

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).