• felsiq@lemmy.zip
    link
    fedilink
    arrow-up
    2
    ·
    4 months ago

    Markdown uses underscores for italic, which is why they also need to be escaped with backslashes.

    • Elvith Ma'for@feddit.org
      link
      fedilink
      arrow-up
      3
      ·
      4 months ago

      Although I know this, I cannot remember where I need to escape. So I just have two custom autocorrections: shrug which yields the regular (and broken on Lemmy) ¯_(ツ)_/¯ for general use and shrugmd with the markdown variant for the use on e.g. Lemmy: ¯\_(ツ)_/¯

      In the end it’s:

          shrug: ¯\_(ツ)_/¯ 
          shrugmd: ¯\\\_(ツ)\_/¯