this post was submitted on 10 Sep 2024
495 points (96.6% liked)

memes

9667 readers
2866 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to !politicalmemes@lemmy.world

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/AdsNo advertisements or spam. This is an instance rule and the only way to live.

Sister communities

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] griD@feddit.org 9 points 1 week ago (1 children)

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 7 points 1 week ago* (last edited 1 week ago) (1 children)

¯\(ツ)

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 4 points 1 week ago (1 children)

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

[–] elvith@feddit.org 6 points 1 week ago (1 children)

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: ¯\\\_(ツ)\_/¯ 
[–] samus12345@lemmy.world 3 points 1 week ago (1 children)

Only need the 3 slashes on the right arm, like so:

¯\\\_(ツ)_/¯ 
[–] elvith@feddit.org 3 points 1 week ago* (last edited 1 week 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 ¯\_(ツ)