2015-06-01 12:58:21 +00:00
|
|
|
created: 20150531155638729
|
2022-03-05 09:19:22 +00:00
|
|
|
modified: 20220304175111424
|
2015-06-01 12:58:21 +00:00
|
|
|
tags: $:/tags/Macro
|
|
|
|
title: $:/editions/tw5.com/wikitext-macros
|
|
|
|
type: text/vnd.tiddlywiki
|
|
|
|
|
|
|
|
\define wikitext-example(src)
|
|
|
|
<div class="doc-example">
|
|
|
|
|
|
|
|
```
|
|
|
|
$src$
|
|
|
|
```
|
|
|
|
|
|
|
|
Affichera ceci :
|
|
|
|
|
|
|
|
$src$
|
|
|
|
|
2022-03-05 09:19:22 +00:00
|
|
|
Code HTML correspondant :
|
2015-06-01 12:58:21 +00:00
|
|
|
|
|
|
|
$$$text/vnd.tiddlywiki>text/html
|
|
|
|
$src$
|
|
|
|
$$$
|
|
|
|
</div>
|
|
|
|
\end
|
|
|
|
|
|
|
|
\define wikitext-example-without-html(src)
|
|
|
|
<div class="doc-example">
|
|
|
|
|
|
|
|
```
|
|
|
|
$src$
|
|
|
|
```
|
|
|
|
|
|
|
|
Affichera ceci :
|
|
|
|
|
|
|
|
$src$
|
|
|
|
</div>
|
|
|
|
\end
|
|
|
|
|
|
|
|
\define tw-code(tiddler)
|
|
|
|
<$codeblock language={{$tiddler$!!type}} code={{$tiddler$}}/>
|
|
|
|
\end
|
|
|
|
|
|
|
|
\define tw-code-link(tiddler)
|
|
|
|
[[$tiddler$]]:
|
|
|
|
|
|
|
|
<<tw-code $tiddler$>>
|
|
|
|
\end
|