this post was submitted on 10 Sep 2024
496 points (96.8% liked)

memes

10636 readers
2605 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 [email protected]

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 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 3 months ago (1 children)

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

[–] [email protected] 6 points 3 months 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: ¯\\\_(ツ)\_/¯ 
[–] [email protected] 3 points 3 months ago (1 children)

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

¯\\\_(ツ)_/¯ 
[–] [email protected] 3 points 3 months ago* (last edited 3 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 ¯\_(ツ)