Prism is a syntax highlighting library written for PHP (V5). It is very lightweight (the core engine is about 10Ko only), powerful and extensible.

This pastebin is using it to render your snippets.

How to use the pastebin?
To create a new snippet, click on New paste, choose a title, a language, paste your snippet in then push the button. You can then view your highlighted code and change the theme by choosing one from the right menu.

2012.01.21 Added a basic Mozilla's Rust language support.

2011.12.29 Added Falcon and OpenDylan languages.

2011.12.27 Due to spam invasion, a captcha was added to the New paste form.

2011.10.02 The Pastebin is now running the new Prism codename 'Vega' version. Two new languages are avaible: CoffeeScript and AutoHotKey. Also, I hope you'll notice that Prism is quickest than before.

2011.01.02 Prism's sources are now avaible with a MIT licence. Read the little Readme file for instructions. There's also a JavaScript version, but I really can't find my way to handle language files loading.

2011.31.01 Prism's core engine has been cleaned up by 25%. Instead of 12Ko, Prism is now less than 10Ko.

2011.17.01 Python 2.x is now supported. I need more testers.

Bugs found ? Just tell me (kib2 at free dot fr) the problem, I'll try my best to fix it.

Latest Pastes:

  • uh in rust on 21.10.2014 at 08:36.
  • TAILS 1.2: Torbutton in crazy DEBUG mode dumping ALL history to ~/.xsession-errors in text on 20.10.2014 at 22:24.
  • TAILS Linux 1.2 is out (October 15th, 2014) in text on 19.10.2014 at 01:35.
  • siberianMouseHd in ahk on 16.10.2014 at 02:16.
  • adfadsf in ahk on 11.10.2014 at 15:39.
  • TAILS Linux 1.1.2 is out (September 25th, 2014) in text on 26.09.2014 at 10:48.
  • vec stuffs in rust on 23.09.2014 at 19:36.
  • How do I fix this in rust on 20.09.2014 at 16:34.
  • Microsoft DirectX killing innovation in text on 20.09.2014 at 10:44.
  • guide in ahk on 19.09.2014 at 20:25.