• GraniteM@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    2 months ago

    You know, I think it’s something with the formatting here where it makes the slash disappear. Not sure what syntax I’d need to use to make the whole thing appear properly.

    • griD@feddit.org
      link
      fedilink
      English
      arrow-up
      9
      ·
      2 months ago

      It’s a markdown dialect, \ is the escape char, so you need to escape it :)
      Same as r*ddit in that regard.

      • GraniteM@lemmy.world
        link
        fedilink
        arrow-up
        7
        ·
        edit-2
        2 months ago

        ¯\(ツ)

        Except double slashes makes the underscores disappear.

        ¯\_(ツ)_/¯

        So… it looks like adding a slash before the slash and before each underscore does the trick. Thanks!

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

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

          • elvith@feddit.org
            link
            fedilink
            arrow-up
            6
            ·
            2 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: ¯\\\_(ツ)\_/¯ 
            
              • elvith@feddit.org
                link
                fedilink
                arrow-up
                3
                ·
                edit-2
                2 months ago

                Technically correct, but back, when Reddit allowed 3rd party apps, I did get the occasional “Hey you lost something” comment, as some apps had a broken markdown rendered that wouldn’t display it without.

                Also it can have side effects if you use an underscore in the same paragraph or use it twice in a row, as it then suddenly can render as italic.

                ¯\_(ツ)/¯ Not sure how Lemmy reacts, though ¯\_(ツ)