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:
parent
859d15a446
commit
a981f8ccfe
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user