Please add a reply containing usage instructions.
Thanks,
IanO
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to TiddlyWiki@googlegroups.com
To unsubscribe from
> I don't have access to tiddlywiki.org at work, but I wanted to add [...]
I've taken the liberty of applying those modifications:
http://tinyurl.com/6n3jdt
(http://www.tiddlywiki.org/index.php?title=Syntax_Highlighting&diff=6561&oldid=6556)
Hope that's correct.
-- F.
--~--~-~--
I don't have access to tiddlywiki.org at work, but I wanted to add
that changing this line:
parts[i] = "
\">" + parts[i].htmlEncode() + "";
to
parts[i] = "" +
parts[i].htmlEncode() + "";
and the keyword formatting to:
"FROM":"color:brown;font-weight:bold;",
"NULL":"color:brown;",
(ex
I've added (essentially) the content of my post to your wiki page.
Todd
On Oct 27, 2:22 pm, FND <[EMAIL PROTECTED]> wrote:
> > I've been looking at this problem myself.
>
> I've created a page for this on the community wiki:
> http://www.tiddlywiki.org/wiki/Syntax_Highlighting
>
> Feel free
> I've been looking at this problem myself.
I've created a page for this on the community wiki:
http://www.tiddlywiki.org/wiki/Syntax_Highlighting
Feel free to add any notes or tips there.
-- F.
--~--~-~--~~~---~--~~
You received this message because you a
I've been looking at this problem myself. I took the formatter from
http://genisis329.googlepages.com/TWMath.html#CodeFormatter and
changed the keywords for SQL:
config.formatters.push(
{
keywords : {
"SELECT":"brown",
"WHERE":"brown",
"FRO
> How do I type in source code (C++, etc.) in to a tiddler so its
> formatting is verbatim ?
Also see the community wiki:
http://www.tiddlywiki.org/wiki/TiddlyWiki_Markup#Preformatted
http://www.tiddlywiki.org/wiki/Escaping#Wiki_Markup
> Is it possible to get some syntax highlighting ?
I appreciate you prompt answer.
It does the formating for me.
Is it possible to get some syntax highlighting ?
Thanks!
On Oct 27, 10:18 am, Eric Shulman <[EMAIL PROTECTED]> wrote:
> > How do I type in source code (C++, etc.) in to a tiddler so its
> > formatting is verbatim ?
>
> Enclose the C+
> How do I type in source code (C++, etc.) in to a tiddler so its
> formatting is verbatim ?
Enclose the C++ code within a "pre" block:
{{{
code goes here
}}}
Important note: the {{{ and }}} sequences must occur on separate
lines, with no leading or trailing whitespace.
enjoy,
-e
Eric Shulman
9 matches
Mail list logo