Hello,

The highlight plugin adds language variants to the code block mecanism:
http://tiddlywiki.com/static/Code%2520Blocks%2520in%2520WikiText.html. If
highlight is loaded and you start you code block with  ```ruby instead of
merely ```, you'll get your code highlighted with respect to the ruby
syntax.

The CSS class involved are described here
http://highlightjs.readthedocs.org/en/latest/css-classes-reference.html,
and you can use the regular CSS mechanisms to alter the rendering. Examples
of themes are available here:
https://github.com/isagalaev/highlight.js/tree/master/src/styles.

Best,
Xavier.

-- Xavier Cazin


On Sat, Apr 12, 2014 at 12:23 PM, Danielo Rodríguez <[email protected]>wrote:

> I don't remember the details, but basically you have to copy the desired
> style sheet into a tiddler and tag it as stylesheet (it's a certain system
> tag, not just style sheet). Then you have to create a Json config tiddler.
> If I remember well it was not very clear on the plugin wiki. I asked a
> couple of times here too and at the end I found the solution myself. In a
> couple of hours I will provide you more detail and maybe I could write a
> tutorial
>
> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/tiddlywiki.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to