created: 20150117184156000
modified: 20220227210152153
tags: $:/tags/Macro
title: $:/editions/tw5.com/wikitext-macros
type: text/vnd.tiddlywiki
\define wikitext-example(src)
<$macrocall $name="copy-to-clipboard-above-right" src=<<__src__>>/>
```
$src$
```
That renders as:
$$$text/vnd.tiddlywiki
$src$
$$$
... and the underlying HTML is:
$$$text/vnd.tiddlywiki>text/html
$src$
$$$
\end
\define wikitext-example-without-html(src)
<$macrocall $name="copy-to-clipboard-above-right" src=<<__src__>>/>
```
$src$
```
That renders as:
$$$text/vnd.tiddlywiki
$src$
$$$
\end
\define wikitext-example-table-header() | wiki text | renders as |
\define wikitext-example-table-row(id, code)
<<__id__>> | <$codeblock code=<<__code__>>/> |
<<__code__>>
|
\end
\define tw-code(tiddler)
<$codeblock language={{$tiddler$!!type}} code={{$tiddler$}}/>
\end
\define tw-code-link(tiddler)
[[$tiddler$]]:
<>
\end
<$view field="text"/>