Skip to main content

Dashes don't work in wiki links

Completed

Comments

6 comments

  • Fletcher Penney

    It works fine for me.  Can you send me a zipped copy of actual files you are trying to use?

    0
  • Fletcher Penney

    Ah.  You're clicking in the preview, not the editor....

    0
  • Ben Hummel

    Sorry, yes, should have clarified this. (I actually didn't know you could also click in the editor – super handy) 

    0
  • Brett

    Thanks for catching this. The en-dash is typographically correct between two numbers, so I'll have to tweak the regex to compensate for that in wiki links...

    1
  • Ben Hummel

    This is probably an issue for other types of character conversions too. I just tested it with quotes and found the same issue: straight quotes in filenames are converted to smart quotes in the preview, so clicking a link to `[["test"]]` (typed with straight quotes) results in a new note being created with smart quotes.

    0
  • Fletcher Penney

    Looking further at this, Brett and I don't see a clean way to disambiguate between user supplied smart typography (e.g. en-dash) vs MultiMarkdown generated smart typography.

    The options are:

    1. Turn off "smart quotes" in the MultiMarkdown settings so that what you type is what you get in the preview.

    2. Don't use smart quote characters in your Wiki filenames

    3. Use the editor, not the preview, when clicking on Wiki links.

     

    At this point, I'm not sure there is a realistic alternative option that doesn't require an undue amount of "hoop jumping"...

     

    Thanks!!

    0

Please sign in to leave a comment.

Powered by Zendesk