It seems we're getting way off-topic here...
> [syntaxhighlighter] needs
> <code class="brush:js">
> code goes here
> </code> which is not rendered by a vanilla tw.
If you have some flexibility (which I suspect you don't, but some
monkey-patching might do it), you could use custom classes:
{{brushjs{
...
}}}
Note that this creates a DIV (or SPAN if used inline) though.
It also seems that colons are not supported in the class name, which is
correct as per W3C specs (IIRC).
> {{{ brush:js
> }}}
> would be cool. If the core would ignore the rest of the line, and
> render it as pre, if no highlighter is installed.
I don't think the core should provide support for this seemingly
specific use case - i.e. it's plugin territory.
-- F.
--
You received this message because you are subscribed to the Google Groups
"TiddlyWikiDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/tiddlywikidev?hl=en.