6th October 2025 at 3:07pm
WikiText can include blocks of text that are rendered with an explicit ContentType like this:
Image SVG
$$$image/svg+xml
<svg xmlns="http://www.w3.org/2000/svg" width="150" height="100">
<circle cx="100" cy="50" r="40" stroke="black" stroke-width="2" fill="green" />
</svg>
$$$
That renders as:
It is also possible to abbreviate the ContentType to a file extension. For example:
$$$.svg
<svg xmlns="http://www.w3.org/2000/svg" width="150" height="100">
<circle cx="100" cy="50" r="40" stroke="black" stroke-width="2" fill="red" />
</svg>
$$$
That renders as:
Unknown Type
Unknown types render as plain text
$$$text/unknown
Some plain text, which will not be //formatted//.
$$$
That renders as:
Some plain text, which will not be //formatted//.
Specific Type WikiText
A render type can also be specified, causing a particular text rendering to be displayed. For example:
$$$text/vnd.tiddlywiki>text/html
This is ''some'' wikitext
$$$
That renders as:
<p>This is <strong>some</strong> wikitext</p>
$$$text/vnd.tiddlywiki>text/plain
This is ''some'' wikitext
$$$
That renders as:
This is some wikitext
CSV Table
$$$text/csv
a,b,c
1,2,3
4,5,6
aye,bee,cee
10,22,42
$$$
That renders as:
a | b | c |
---|---|---|
1 | 2 | 3 |
4 | 5 | 6 |
aye | bee | cee |
10 | 22 | 42 |