Hi @amreus, I tried your file on tiddlywiki.com ... try the following code:
<pre><$text text={{!!cmd}}/></pre>
<$wikify name=a text="""<$text text={{!!cmd}}/>""">
<$macrocall $name="copy-to-clipboard" src=<<a>>/>
</$wikify>
<table>
<tr><td>Days:</td><td><$edit-text field="old"/></td></tr>
<tr><td>Depth:</td><td><$edit-text field=depth/></td></tr>
</table>
@@font-family: mono;
cmd: <$text text={{!!cmd}}/>
@@
amreus schrieb am Sonntag, 22. November 2020 um 19:27:15 UTC+1:
>
> I'm playing with an idea of a command-line builder where I can build the
> command line using a form and copy the command to the clipboard.
>
> Most commands accept 2 dashes for long options but in my example
> (attached) the double-dashes get converted to an emdash. Can this be
> prevented?
>
> Thanks.
>
>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/c39a8e5e-893a-441a-8b6d-d251a59ba5ean%40googlegroups.com.