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:

  • generic_table in rust on 17.12.2014 at 23:43.
  • return Sting and &str in rust on 17.12.2014 at 11:50.
  • pthc in ahk on 09.12.2014 at 06:57.
  • gulp in coffeescript on 08.12.2014 at 13:16.
  • kmcg in ahk on 01.12.2014 at 01:28.
  • 1st Studio Siberian Mouse HD Collection in fsharp on 30.11.2014 at 17:19.
  • [ Full ] 1st studio Siberian Mouse Special Update 2014 in cpp on 30.11.2014 at 17:13.
  • Small Video & ShotClip L0lita( VCD & DVD 120GB+ Update 2014 ) in cpp on 30.11.2014 at 17:12.
  • guessing game in rust on 23.11.2014 at 18:15.
  • kmc in rust on 22.11.2014 at 01:07.