Skip to main content

Can't escape [[ ]] wikilinks

Completed

Comments

4 comments

  • Brett

    The wiki linking inside of code blocks is fixed for the next update.

    When you escape a character in Multi/Markdown, the character still comes through in the output, sans the backslash. The preview generates its wiki links by looking for [[text]], which is going to exist exactly the same whether you escape or not. There's not a lot I can do to mitigate that situation.

     

    -Brett

     

    0
  • Fletcher Penney

    One possibility, though aesthetically not optimal, is to use a space instead of a backslash, e.g. `[ [foo]]` or `[[foo] ]`

    0
  • theofrancis

    That's a good idea. I don't mind the aesthetics; I was using a note to break down and decipher a shell script/command, and one of the components of a sed command including [[:space:]] ... ideally, when I annotate code, I prefer avoiding any kind of escaping. I realize a code block would do that for me, but I like the formatting of definition list. Can't have everything, however — going forward, I'll just use a code block.

    0
  • Brett

    After the next update goes out, you'll have the option of using a code span (`code`) to prevent them from being rendered as wikilinks in addition to code blocks.

    0

Please sign in to leave a comment.

Powered by Zendesk