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:

  • SHA-1 in rust on 23.04.2014 at 05:52.
  • SHA-1 in rust on 19.04.2014 at 00:21.
  • SHA-1 in rust on 18.04.2014 at 09:52.
  • SHA-1 in rust on 18.04.2014 at 09:21.
  • SHA-1 in rust on 18.04.2014 at 09:08.
  • SHA-1 in rust on 18.04.2014 at 08:53.
  • SHA-1 in rust on 18.04.2014 at 00:25.
  • r in rust on 16.04.2014 at 15:40.
  • stack-of-lists.rs in rust on 05.04.2014 at 23:02.
  • enum-impl in rust on 04.04.2014 at 23:13.