Not interpret wiki syntax

28 views
Skip to first unread message

harjeet

unread,
Jul 30, 2008, 7:05:30 AM7/30/08
to TiddlyWiki
Hello,
I would liek to know how I can make a particular tiddler to not
interpret certain parts. For e.g. if I am adding content like piece of
shell script, tiddler tries to interpret that using the tiddlywiki
syntax. For e.g. if I try to write
#!/bin/bash -e

This will normally be converted to a numbered bullet whcih I do not
want in this case.
In certain wiki scenarios this can be done with <pre> tag or <code>
tag.

Thanks in Advance...

Eric Shulman

unread,
Jul 30, 2008, 7:39:11 AM7/30/08
to TiddlyWiki
> I would like to know how I can make a particular tiddler to not
> interpret certain parts. For e.g. if I am adding content like piece of
> shell script, tiddler tries to interpret that using the tiddlywiki

To completely prevent 'wikification', surround content with tripled-
double quotes, e.g.:
"""This will not be wikified"""
or, if you prefer, you can use <nowiki>...</nowiki>, as in:
<nowiki>This will not be wikified</nowiki>

If you want to create an "code" inline element, use:
{{{This will not be wikified}}}
Code elements appear using a fixed-width font, and are not wikified.
However, they are still word-wrapped, and any surrounding styles (such
as font size, italics, etc.) will still be applied.

Alternatively, if you want to create a "pre" block element, simply put
the {{{ and }}} on lines by themselves, like this:
{{{
This will not be wikified
}}}
As with code elements, pre elements also use a fixed-width font and
are not wikified. However, the default CSS in TW also automatically
encloses the pre block content with a border and uses a pale yellow
background to set the text apart from the surrounding content.

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

FND

unread,
Jul 30, 2008, 8:52:46 AM7/30/08
to Tiddl...@googlegroups.com
> I would like to know how I can make a particular tiddler to not
> interpret certain parts.

See here:
http://www.tiddlywiki.org/wiki/Escaping#Wiki_Markup

HTH.


-- F.

harjeet

unread,
Jul 30, 2008, 1:13:11 PM7/30/08
to TiddlyWiki

Thanks very much to both of you. I tryto google for this but did not
get reply.

Alpay Erturkmen

unread,
Aug 4, 2008, 4:07:34 AM8/4/08
to TiddlyWiki
Hi,

I have been trying this also. I have a tiddler that is a long script
which includes many wiki words. My problem is; I can nonwikify (?) the
tiddler, though the wiki words in the script content still appear in
the missing tiddlers list.

I am using the "pre" block element, but I don't want the tiddlers in
the script body to appear in the missing tiddlers list.

Any help will be appreciated.

Regards,
Alpay

Martin Andreas Eines

unread,
Aug 4, 2008, 4:59:05 AM8/4/08
to Tiddl...@googlegroups.com

Give the tiddler in question the tag 'excludeMissing' .

Alpay Erturkmen

unread,
Aug 6, 2008, 2:56:26 AM8/6/08
to TiddlyWiki
Hi Martin,

Thanks for your suggestion. At the moment I have solved the problem by
using TiddlyTools' CoreTweaks.

Regards,
Alpay

On Aug 4, 11:59 am, "Martin Andreas Eines" <drau...@draugrheim.net>
wrote:
Reply all
Reply to author
Forward
0 new messages