4 ms·
Was expecting full html markup with colours etc like in most IDEs. maybe add that as a optional feature? http://qbnz.com/highlighter/ http://qbnz.com/highlighte
by arb99 13y ago
Was expecting full html markup with colours etc like in most IDEs. maybe add that as a optional feature? http://qbnz.com/highlighter/ http://qbnz.com/highlighter/ or similar library might help there.
This seems like a slightly extended htmlentities(nl2br($input)) (if done in php). handy in those times you need stuff converted so it'll output the same way as what you are pasting in.
- buttscicles 13y agoPygments (http://pygments.org/ http://pygments.org/) is the best Python library for this. (op is using Django) It's pretty configurable, and outputs something like this (both the pastebin and linked paste make use of it): https://paste.buttscicl.es/u/877a8d68d88239985e6bb39a4ccaa818/ https://paste.buttscicl.es/u/877a8d68d88239985e6bb39a4ccaa81...