Note: An alternative skin, TW4MW (work in progress), is available from the user preferences.

Escaping

TiddlyWiki Community Wiki

Jump to: navigation, search
Seal of Approval This article meets TiddlyWiki.org's quality standards.

Contents

[edit] Wiki Markup

Sometimes text can inadvertently match TiddlyWiki formatting instructions - particularly program code, or text pasted from elsewhere. This can be resolved by using one of the following options:

Description Syntax
preventing wikification
"""unparsed contents"""

or

<nowiki>unparsed contents</nowiki>
preformatted inline content (CODE element)

(white-space "collapsed", word-wrapped, fixed-width font)

{{{unparsed contents}}}
preformatted block content (PRE element)

(white-space "as-is", no word-wrapping,
fixed-width font, yellow box with border)

{{{
unparsed contents
}}}
escaping WikiWords
~WikiWord

[edit] Code Comments

Individual tiddler passages can be "commented out" to prevent them from being processed and/or displayed by TiddlyWiki:

Context Syntax
tiddler contents
/% multi-line comment %/
HTML code

(e.g. in PageTemplate, ViewTemplate or EditTemplate)

<!-- multi-line comment -->
CSS code

(e.g. in StyleSheet)

/* multi-line comment */
/*** wikified multi-line comment ***/
JavaScript code

(in systemConfig tiddlers)

// single-line comment
/* multi-line comment */
/*** wikified multi-line comment ***/

[edit] See Also

Personal tools