note
influx
I usually use Javascript for that, like prettify, or SyntaxHighlighter.
As an example you're welcome to take a look at Pastelyst, which is a Catalyst driven pastebin <a href="https://github.com/bradhaywood/Pastelyst">Here</a>.
987578
987578