The promotion of -- to – is caused by a parse rule, called *dash*. If you're willing to turn it off for this entire wiki, you can find the option in Control Panel/Info/Advanced/Parsing (note that you have to reload the page to see the change).
Otherwise...normally, you can disable parse rules on a tiddler-by-tiddler basis with the *\rules except* pragma, like: ``` \rules except dash This will be two hyphens: -- ``` I could not get this to work in combination with the $wikify widget though, either by just putting the widget inside a tiddler with a rules pragma or by using a macro to concatenate the pragma to the command before passing it in to $wikify. Maybe there is a way to use pragmas with $wikify that I'm missing, but if so it doesn't appear to be documented. On Sunday, November 22, 2020 at 12:27:15 PM UTC-6 amreus wrote: > > 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 tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/3f31b167-a197-4e9f-a0d5-0ff9f08ae369n%40googlegroups.com.