This page is part of a static HTML representation of the TiddlyWiki at http://tiddlywiki.com/

Formatting text in TiddlyWiki

19th September 2014 at 10:48pm
Working with TiddlyWiki

Within the text of a tiddler you can use special formatting called WikiText to control how the text is displayed.

Simple Formatting

At its simplest, WikiText lets you use familiar word-processing features like bold, italic, lists and tables. For example:

The ''quick'' brown ~~flea~~ fox //jumps// over the lazy dog

… displays as:

The quick brown flea fox jumps over the lazy dog

Working with Tiddlers

In WikiText, you can link to tiddlers using double square brackets, or by taking advantage of the automatic linking of CamelCase words:

This is a link to HelloThere, and one to [[History of TiddlyWiki]]

… displays as:

This is a link to HelloThere, and one to History of TiddlyWiki

Macros

Macros let you package repetitive fragments of WikiText so that you can easily reuse them.

For example, here is the definition of a macro that generates a YouTube video URL from its unique identifier:

\define youtube(video)
https://www.youtube.com/watch?v=$video$
\end

With that definition in place, <<youtube 1g66s7UbyuU>> generates the URL https://www.youtube.com/watch?v=1g66s7UbyuU