[ANN] Syntax Highlighter for Pier

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[ANN] Syntax Highlighter for Pier

Damien Cassou-3
Hi,

I've just implemented a syntax highlighter for Pier, based on
http://alexgorbatchev.com/wiki/SyntaxHighlighter. You can download it
from the pieraddons repository. See

http://www.piercms.com/doc/add-ons#28425338

for more information on how to use it.

--
Damien Cassou
http://damiencassou.seasidehosting.st

_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Syntax Highlighter for Pier

Damien Cassou-3
On Mon, Mar 9, 2009 at 2:35 PM, Damien Cassou <[hidden email]> wrote:
> I've just implemented a syntax highlighter for Pier, based on
> http://alexgorbatchev.com/wiki/SyntaxHighlighter. You can download it
> from the pieraddons repository. See
>
> http://www.piercms.com/doc/add-ons#28425338
>
> for more information on how to use it.

The plugin now allows in-page code sections. Use the following syntax:

 =sh brush:java; gutter:false; toolbar:false
 =sh public static void main(String [] args) {
 =sh "123" /* abc */ sdfsdf // dfsfsdf
 =sh }

Everything is described here: http://www.piercms.com/doc/add-ons#28425338

--
Damien Cassou
http://damiencassou.seasidehosting.st

_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki