The SyntaxHighlighterRubyPlugin enables syntax highlighted rendering of plain text, XML/HTML, CSS, JavaScript and Ruby content in a TiddlyWiki by enclosing it in special TiddlyWiki markup.
- Content between {{{ and }}} will be highlighted as plain text.
- Content between /*{{{*/ and /*}}}*/ will be highlighted as CSS.
- Content between <!--{{{--> and <!--}}}--> will be highlighted as XML/HTML.
- Content between //{{{ and //}}} will be highlighted as JavaScript.
- Content between ={{{ and =}}} will be highlighted as Ruby.
The plugin is based on PMario's SyntaxHighlighterPlugin and Alexander Gorbachev's SyntaxHighlighter.
It is built on PMario's SyntaxHighlighterPlugin, which uses Alex Gorbatchev 's SyntaxHighlighter.
For further information, see the Documentation and the FAQ.
The SyntaxHighlighterPluginFacelift branch contains a version of PMario's original SyntaxHighlighterPlugin with minor modifications, namely:
- more verbose description in the documentation of the plugin,
- less verbose description in the plugin itself and
- some minor changes to the styles governing the appearance of highlighted content.