1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-08-09 07:15:39 +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__>>/> <$macrocall $name="copy-to-clipboard-above-right" src=<<__src__>>/>
``` <$codeblock code=<<__src__>>/>
$src$
```
That renders as: That renders as:
$$$text/vnd.tiddlywiki <$macrocall $name="__src__"/>
$src$
$$$
... and the underlying HTML is: ... and the underlying HTML is:
@ -69,15 +65,11 @@ $$$
<$macrocall $name="copy-to-clipboard-above-right" src=<<__src__>>/> <$macrocall $name="copy-to-clipboard-above-right" src=<<__src__>>/>
``` <$codeblock code=<<__src__>>/>
$src$
```
That renders as: That renders as:
$$$text/vnd.tiddlywiki <$macrocall $name="__src__"/>
$src$
$$$
</div> </div>
\end \end