summaryrefslogtreecommitdiff
path: root/tests/examplefiles/tid/TiddlyWiki5.tid
blob: 8b998b68bb23a0af86b3279396c19c907e70c017 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
caption: Formatting
created: 20131205155959399
modified: 20200201075357846
tags: TiddlyWiki WikiText
title: TiddlyWiki5
type: text/vnd.tiddlywiki

\define pos() <div class="cell positive">+</div>
\define neg() <div class="cell negative">-</div>

\define say-hi-using-variables()
Hi, I'm $(name)$ and I live in $(address)$.
\end

<style>
/* compensating the cell padding */
.cell { margin:-1px -7px; padding:1px 7px; }
.positive { background-color:#afa; }
.negative { background-color:#faa; }
</style>

!Main Header

Available character formatting includes:

* <code>&#96;backticks&#96;</code> for `code`
** Alternatively, <code>&#96;&#96;double backticks allows &#96;embedded&#96; backticks&#96;&#96;</code>
 * `''bold''` for ''bold text''
*`//italic//` for //italic text// ({{$:/core/images/italic}})
*# `__underscore__` for __underscored text__

Ordered list:

# `^^superscript^^` for ^^superscripted^^ text ({{$:/core/images/superscript}})
# `,,subscript,,` for ,,subscripted,, text ({{$:/core/images/subscript}})
#* `~~strikethrough~~` for ~~strikethrough~~ text ({{$:/core/images/strikethrough}})

<span style="font-style: italic;">''bold'' &#96;&amp;</span>

!!Links

Internal link: [[Code Blocks in WikiText]]

External link: [[TiddlyWiki Homepage|https://tiddlywiki.com]]

Image via transclusion: {{$:/core/images/underline}}

Just a link: ftp://ftp.halifax.rwth-aachen.de/

!!!Code

```bash
cd "$HOME/workspace"
```

!!!Table

|myclass anotherClass|k
|This is a caption |c
|Header|Header|h
|''Cell1'' |<<neg>> |
|//Cell2// |<<pos>> |
|Footer|Footer|f

!Block quote

<<<
Computers are like a bicycle for our minds
<<< Steve Jobs

; Term being defined
: Definition of that term