@amreus - sorry I overlooked that this breaks the wikification of {{!!cmd}}
BurningTreeC schrieb am Sonntag, 22. November 2020 um 20:17:46 UTC+1:
> 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/c3c93b10-6633-4f1c-af31-7e5b9f60d09fn%40googlegroups.com.