4 panel comic:
1 NPC says: A Lesbian? You just haven’t had the right dick yet
2 person replies: But my gf has a dick
3 NPC with blank look
4 NPC looks angry

  • Metal Zealot @lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    1 year ago

    So, can anyone explain why the “\” symbol disappears when typed out normally? what do you have to do to make it register?

    • Uvine_Umarylis@partizle.com
      link
      fedilink
      arrow-up
      19
      ·
      edit-2
      1 year ago

      Markdown formatting, \ is often used as what is called an escape sequence. I don’t knew the rules for lemmy’s markdown, just remember to add 2 \'s

      • Dept@lemmy.sdf.org
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        with the shrug emoticon you have to use 3

        the underscore is used for text formatting so you have to escape it and the back slash

        2 ¯⁠\⁠_⁠(⁠ツ⁠)⁠_⁠/⁠¯

        3 ¯⁠\\⁠_⁠(⁠ツ⁠)⁠_⁠/⁠¯

        • Excrubulent@slrpnk.net
          link
          fedilink
          arrow-up
          4
          ·
          edit-2
          1 year ago

          Oh dear. In my client, Connect, the 2 slash version looks right and the 3 slash version has a doubled arm. I suspect it’s not rendering markdown correctly.

          Lemme try:

          ¯⁠\\⁠_⁠(⁠ツ⁠)⁠_⁠/⁠¯

          ¯\_(ツ)_/¯

          Okay idk how to describe this, but those two text strings above are seemingly identical in plain text, but one renders correctly, the other incorrectly in my client. I feel like I’m being gaslit.

          • jarfil@lemmy.world
            link
            fedilink
            arrow-up
            5
            ·
            edit-2
            1 year ago

            Liftoff here, 2 is the right number… except in some comments where 3 works too unless it doesn’t 🤷

            2 ¯\_(ツ)_/¯ - OK (second italics escaped)

            32 20 c2 af [5c 5c] 5f 28 e3 83 84 29 [5c 5f] 2f c2 af 0a

            2 ¯\(ツ)/¯ - unescaped ITALICS

            32 20 c2 af [5c 5c] 5f 28 e3 83 84 29 5f 2f c2 af 0a

            3 ¯\_(ツ)_/¯ - OK (first italics escaped)

            33 20 c2 af [5c 5c] [5c 5f] 28 e3 83 84 29 5f 2f c2 af 0a

            3 ¯⁠\\⁠_⁠(⁠ツ⁠)⁠_⁠/⁠¯ - doubled

            33 20 c2 af [e2 81 a0] [5c 5c] 5c [e2 81 a0] 5f [e2 81 a0] 28 [e2 81 a0] e3 83 84 [e2 81 a0] 29 [e2 81 a0] 5f [e2 81 a0] 2f [e2 81 a0] c2 af 0a

            0xE281A0 - https://en.m.wikipedia.org/wiki/Word_joiner

            • Excrubulent@slrpnk.net
              link
              fedilink
              arrow-up
              1
              ·
              1 year ago

              Ah, so there’s a non-printing character in there. It’s weird that the person making a demo to explain it made that mistake.

    • Tb0n3
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      It’s often used to escape a character that would otherwise be interpreted as code. So you should be able to use two in a row to escape the escape. \