Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

New Module: Pastie - Syntax Highlighting and Pastebin Functionality


Reply

3166 Views

Avatar
Hamish

11 January 2011 at 9:43pm (Last edited: 11 January 2011 9:44pm), Community Member, 712 Posts

Hi all, just finishing up a new module: [url=http://redmine.polemic.net.nz/projects/silverstripe-pastie]Pastie[/url]

SilverStripe Pastie

SilverStripe Pastie is a module that wraps the GeSHi (Generic Syntax Highlighter) library to provide code syntax highlighting via shortcode parsing and pastebin style functionality.

This brings much needed functionality into the core with no configuration required. Future releases will also provide access to more customizations in the GeSHi library.

Installation is as simple as importing the module into your SilverStripe website and running the database build process.

For more information, see

  • [url]http://redmine.polemic.net.nz/projects/silverstripe-pastie/wiki/[/url]

Check out the demo page at:

  • [url]http://demo.polemic.net.nz/pastie/[/url]

Comments welcome.