How do you display code inside of Tiddly Wiki

594 views
Skip to first unread message

tufnellpark

unread,
Aug 14, 2006, 1:54:07 PM8/14/06
to TiddlyWiki
I want to paste some source code into a tiddler but TiddlyWiki
obviously interpretes some special signs as formatting. Just to
clearify: I'm not trying to change the source code of Tiddly Wiki. I
just want to save bits of PHP in a Tiddler to make a little Wiki of
snippets that I often use. How can I get rid of the automatic
formatting and display my code in such neat yellow boxes as you can on
TiddlyWiki tutorial sites (blogjones)?

BlueCockatoo

unread,
Aug 14, 2006, 2:46:17 PM8/14/06
to TiddlyWiki
Put your code text between {{{ }}} to keep it from being wikified and
it will show up in the yellow box.

Here's the sample:
http://www.tiddlywiki.com/#MonospacedText

And a bunch of other formatting info here:
http://www.tiddlywiki.com/#MainFeatures

Also, remember, anytime you see something that you think is cool, just
view the tiddler in edit mode to see how it's done.

Hope that helps!

tufnellpark

unread,
Aug 14, 2006, 4:25:46 PM8/14/06
to TiddlyWiki
Thanks a lot. Works fine.

> Also, remember, anytime you see something that you think is cool, just
> view the tiddler in edit mode to see how it's done.

Oh yes, that was my first thought. But wherever I found examples on the
tutorial site they were not edible.

tufnellpark

unread,
Aug 14, 2006, 6:40:38 PM8/14/06
to TiddlyWiki

> Oh yes, that was my first thought. But wherever I found examples on the
> tutorial site they were not edible.

ahem... obviously I don't want to eat them, rather edit them. Nice slip
though...

Reply all
Reply to author
Forward
0 new messages