Syntax is a project mainly written in JAVASCRIPT and PHP, it's free.
A syntax plugin for Croogo that uses SyntaxHighlight
Syntax is a syntax highlighter plugin for the Croogo CMS. It uses SyntaxHighlighter to highlight code found in your pages/posts. Initial development (i.e., the learning process) was heavily borrowed from Fahad's Geshi plugin.
Install like you would any other Croogo plugin. Then enable the Component Hook and the Helper Hook.
Configure SyntaxHighlighter under Extensions > SyntaxHighlighter. All configuration options are those offered by SyntaxHighlighter, found here.
To use the SyntaxHighlighter, add a <pre>
tag to your page (or whatever tag
you defined in the configuration settings) and add class="brush:php"
to the
tag. Other languages are supported as documented in SyntaxHighlighter.
The Syntax plugin offers support for all of the themes and languages that SyntaxHighlighter currently supports: