1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 03:57:21 +00:00

Partial fix for wikitext example macros

They don't work when the src text contains variable substitution syntax.
This commit is contained in:
jeremy@jermolene.com 2022-09-21 09:32:18 +01:00
parent 859d15a446
commit a981f8ccfe

View File

@ -46,15 +46,11 @@ open the ''example edition'' in a new window
<$macrocall $name="copy-to-clipboard-above-right" src=<<__src__>>/>
```
$src$
```
<$codeblock code=<<__src__>>/>
That renders as:
$$$text/vnd.tiddlywiki
$src$
$$$
<$macrocall $name="__src__"/>
... and the underlying HTML is:
@ -69,15 +65,11 @@ $$$
<$macrocall $name="copy-to-clipboard-above-right" src=<<__src__>>/>
```
$src$
```
<$codeblock code=<<__src__>>/>
That renders as:
$$$text/vnd.tiddlywiki
$src$
$$$
<$macrocall $name="__src__"/>
</div>
\end