Thank you, Soren. Turning the *dash* option off for the entire wiki seems to be working fine. If I actually ever need a mdash or ndash, I can use — and –
On Monday, November 23, 2020 at 10:07:05 PM UTC-5 Soren Bjornstad wrote: > > 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/ae482fa9-dc92-4645-9c60-8655708c7845n%40googlegroups.com.

