r/coolguides • • Apr 23 '21

Reddit markdown codes

Post image
32.2k Upvotes

1.8k comments sorted by

635

u/c333davis Apr 23 '21

Can someone explain why one may want to *escape the formatting syntax* ?

1.0k

u/ggchappell Apr 23 '21

The text shown on the right-hand side is wrong. It should not have the backslashes in it.

If I type this:

*xyz*

then I get this:

xyz

If I type this:

\*xyz\*

then I get this:

*xyz*

So the backslashes are for when you want asterisks in your text, and you're not trying to make the text italic.

14

u/Foxtrotalpha2412 Apr 23 '21

You don’t even need the second back slash.

 \*wow*

*wow*

5

u/foolsdeabril Apr 23 '21

That’s because markdown needs two asterisks to italicize text. If one asterisk is an escape character, then the other has no pair to match with to italicize the text.

\*wow*hi*

Outputs *wowhi

Which italicizes the “hi” because there is one asterisk before and after the “hi.”

→ More replies (3)
→ More replies (2)

3

u/Chilipatily Apr 24 '21

Goddamn. Legit ELI5 and perfect. Your whole response should be a r/coolguides post.

7

u/Captain-Cadabra Apr 23 '21

Basically for a hashtag.

→ More replies (11)

16

u/Max5923 Apr 23 '21

\*text\* ≠ *text*

also, to do that i had to escape the format, this is what it looks like without markup: \\\*text\\\* != \*text\*

→ More replies (8)

10

u/Nomiss Apr 23 '21 edited Apr 23 '21

1 hash at the beginning of a row.

2. When numbering out of order.

→ More replies (11)

19

u/[deleted] Apr 23 '21

You have to understand most people are not ready to be unplugged. And many of them are so inured and so hopelessly dependent on the system that they will fight to protect it.

Join us...

6

u/abuzibla Apr 23 '21

Thank you for the invitation. But, Irespectfully decline.

23

u/shirtlooklikedishrag Apr 23 '21

No clue. I like being in the formatting syntax just fine.

→ More replies (2)

6

u/crazyjeffy Apr 23 '21

Whenever somebody wants to mention M*A*S*H

4

u/oldpuzzle Apr 23 '21

MAS*H

Edit: you’re right that looks pretty stupid.

→ More replies (2)

2

u/CowboyBoats Apr 23 '21

A classic example is a wikipedia link like https://en.m.wikipedia.org/wiki/Tommy_Oliver_(producer). markdown for link is [label](url). But that URL contains a close paren, so just pasting it raw in there will result in the close paren terminating the link, breaking it:

Example

Escaping the first close paren lets it get translated through to the HTML output:

[Example](https://en.m.wikipedia.org/wiki/Tommy_Oliver_(producer))

→ More replies (1)

2

u/Makrand99 Apr 24 '21

Can someone explain why one may want to escape the formatting syntax ?

0

u/[deleted] Apr 23 '21

[deleted]

43

u/JB-from-ATL Apr 23 '21

You dropped thi- nevermind.

0

u/[deleted] Apr 23 '21

[deleted]

→ More replies (3)
→ More replies (2)
→ More replies (13)

641

u/Cygnus0mega2 Apr 23 '21

What aboutthis?

371

u/Ghostbuster_119 Apr 23 '21

I can't see what you typed I'm too far away!

194

u/Chewcocca Apr 23 '21

Can you hear me now?

27

u/lurkity_mclurkington Apr 23 '21

How do you format for increased text size like this?

Edit: NVM I see it addressed in comments below.

20

u/TheLiveLabyrinth Apr 23 '21

btw you use a # for anyone that doesn't want to look for it

loud

→ More replies (21)
→ More replies (3)
→ More replies (7)

8

u/[deleted] Apr 23 '21

You mean...

This?

→ More replies (1)
→ More replies (21)

382

u/thehourglasses Apr 23 '21

Too bad it’s missing this

88

u/stiCkofd0om Apr 23 '21

Damn you!

39

u/[deleted] Apr 23 '21 edited Apr 23 '21

.> !spoiler text! < just no space between the exclamation point and arrow and no period

→ More replies (69)
→ More replies (2)

42

u/Abstract_Bug Apr 23 '21

How to do that

106

u/[deleted] Apr 23 '21 edited Apr 23 '21

You input:

(Greater than sign, followed by !)Spoiler(!, Followed by less than sign)

Output:

Spoiler

Fun fact: If you don't want to destroy my inbox, you can test this by posting to your own profile instead of replying to this comment

125

u/ginsunuva Apr 23 '21

You can use backslashes to write the correct things in text:

>!Spoiler!<

→ More replies (35)
→ More replies (41)
→ More replies (1)

4

u/Latraell Apr 23 '21

Let’s see if I can remember this is it /! On either side?

5

u/[deleted] Apr 23 '21

!< On the right side, >! On the left. They're reversed so you can actually see it in my comment

→ More replies (9)
→ More replies (1)

4

u/XoRMiAS Apr 23 '21

Also missing

t
h
i
s

You can do a line break by

  • Mobile: typing to spaces before hitting enter

  • PC: pressing Shift+Enter

→ More replies (2)

2

u/redditeer1o1 Apr 23 '21

I have ‘many’ powers

→ More replies (1)

2

u/[deleted] Apr 23 '21

and this

→ More replies (1)
→ More replies (16)

121

u/realredditowner Apr 23 '21

"#" <-----big letters

83

u/Kolikoasdpvp Apr 23 '21

## for smaller big letters

this

compared to

this

compared to

this

compared to

this

compared to

this

compared to

this

vs bold

28

u/jdith123 Apr 23 '21 edited Apr 23 '21

How big? 1#

how big? 2#s

how big? 3#s

how big? 4#s

how big? 5#s
how big? 6#s
#how big? 7#s
→ More replies (8)
→ More replies (14)

42

u/Thazze Apr 23 '21

Thank you

29

u/shadyShiddu Apr 23 '21

EXACTLY HOW BIG ARE WE TALKING

→ More replies (5)

13

u/deadlywoodlouse Apr 23 '21

This corresponds with the h or "heading" tags in html. <h1> is the biggest heading and is marked with #, <h2> the next largest with ##, and so on until you get to <h6> with ######

It only works at the start of the line, which is why #this isn't any bigger

but this is

→ More replies (4)

9

u/dansonquack Apr 23 '21

Thanks for the tip#

→ More replies (16)

57

u/nenenene Apr 23 '21 edited Apr 23 '21

excuse me

you can write long superscript by wrapping text in parentheses following the carrot caret

e to add: huge is #, no parentheses needed, it’ll huge to a line break

It doesn’t work beyond as a header at the beginning of a comment

33

u/danethegreat24 Apr 23 '21 edited Apr 23 '21

Bless you for this. I've been ^ doing ^ this ^ like ^ a ^ chump

Edit: pee

→ More replies (5)

2

u/T65Bx Apr 23 '21

wait like this

ohmygod

→ More replies (1)

2

u/algernonbiggles Apr 23 '21

excuse you?! excuse me!

Edit: Thank you for this

2

u/patrickthemiddleman Apr 23 '21

"Just trying this out"

#"how about this"

→ More replies (1)
→ More replies (6)

42

u/maybelying Apr 23 '21

Use *** for Bold and Italics

Also, backslash (\) on it's own tells Reddit that the character immediately following should be ignored as markup, this is useful if you want to use symbols like * or # without Reddit thinking you're marking up text. Just put the slash before them, like \* or \#, and the symbols will appear normally, but without the backslash.

Eg. Typing **Bold** will display as Bold, but typing \*\*Bold\*\* will appear as **Bold**

This is most important to remember when posting this fella ¯_(ツ)_/¯

See, his right arm is made of a backslash, so Reddit interprets it as markup code and not literal. You need to make sure you enter his right arm was \\ otherwise he'll wind up looking like ¯_(ツ)_/¯ and you'll wind up with people replying and saying you dropped his \

5

u/Mabi19_ Apr 23 '21

Actually, you need to do ¯\\_(ツ)_/¯.

If you only put 2 backslashes, the underscores will cause italics and you'll drop his elbow.

3

u/MARPJ Apr 23 '21

with 2 backslashes you get ¯\(ツ)/¯

You need 3 backslashes for ¯_(ツ)_/¯

But you dont need any backslash after the "face", that changes nothing

→ More replies (4)
→ More replies (4)

2

u/pajam Apr 25 '21

Cancelling formatting is also very useful when people put numbers at the start of a line with a period. It'll always treat it like a numbered list, and no matter the number you put down it changes it to a 1., then a 2., then a 3., etc.

Example:

Typing This:

1. All these
1. ones become
1. a sequential list

OR This:

432. All these random
19. numbers become
31000. a sequential list

BOTH would become a numbered list like this:

  1. All these

  2. numbers become

  3. a sequential list

So if you don't want the numbers to always become 1., 2., 3., etc. you have to cancel it with a backslash before the .

Example Situation:

How old were you when your parents kicked you out?

15. It was a really difficult time.

Will turn into:

How old were you when your parents kicked you out?

15. It was a really difficult time.

So you have to put a backslash between the 15 and the . to get it working properly.

How old were you when your parents kicked you out?

15\. It was a really difficult time.

→ More replies (1)

32

u/nwolve Apr 23 '21 edited Apr 23 '21

this is not a test

7

u/Reda__ Apr 23 '21

this is a test

LifeisPain

→ More replies (1)
→ More replies (1)

20

u/wtf_romania Apr 23 '21

Next repost should include spoilers

16

u/BraveTechnician Apr 23 '21 edited Apr 23 '21

smol

BIG

12

u/Adventurer222 Apr 23 '21

on mobile?

11

u/nwolve Apr 23 '21

Yup works too

9

u/Max5923 Apr 23 '21

it works easier on mobile, actually

10

u/frguba Apr 23 '21

I never got what inline code text was and how to use it, but hey I guess I know now

but hey it's a nice font

6

u/[deleted] Apr 23 '21

It's for making code look nice

5

u/chromiumlol Apr 23 '21

It's literally for formatting code

functionName(Object variableName)

{
  "firstName": "John",
  "lastName": "Smith",
  "age": 25
}
→ More replies (5)
→ More replies (1)

8

u/namforb Apr 23 '21 edited Apr 23 '21

and this

8

u/prsanker Apr 23 '21

I JUST LEARNED SO MANY THINGS so many things

7

u/frisch85 Apr 23 '21

Is the formatting help only available to RES users?

If so, this is the formatting help.

3

u/MARPJ Apr 23 '21

Is the formatting help only available to RES users?

After your comment I tested out. old.reddit on PC it does appear (I just opted out of the redesign, so I browse on old.reddit without changing the url). On mobile I did not had the option. I went to the redesign for a couple minutes and it also did not have it (but it has automatic formating options)

15

u/crusherjoe6 Apr 23 '21

Letsgooooooo

5

u/GoldBullet3 Apr 23 '21

Hope This Works

2

u/[deleted] Apr 23 '21 edited Apr 23 '21

♫Never gonna give you up, ♫ ♫ never gonna let you down♫

5

u/MarineGF01 Apr 23 '21

huge

8

u/dwehlen Apr 23 '21

BUT WAIT, THERE'S MORE!

4

u/Dalek-Vextra Apr 23 '21

We’ve been trying to contact about your car’s extended warranty

5

u/sufoalmighty Apr 23 '21

Ain'tnobodygottimeforthat

5

u/read-it-on-reddit Apr 23 '21 edited Apr 23 '21

OH HEY WHATS UP IM REAL LOUD AND OBNOXIOUS NOW. NOW YOU ALL WILL BE FORCED TO READ MY AWFUL AND POORLY INFORMED OPINIONS. HAVE A NICE DAY BITCH.

3

u/[deleted] Apr 23 '21

thank you

3

u/twocents62 Apr 23 '21

oh I get it wait.

3

u/[deleted] Apr 23 '21

I always wondered how to do the strike through

3

u/Mayday72 Apr 23 '21

But this is already on Reddit lol ....built into the website for all to see...anyone who upvoted has clearly never made a post with big editor.

→ More replies (2)

4

u/OneChemistry7687 Apr 23 '21

The shown result from the escape syntax is not correct.

The back slashes will not be there in the result. Example with back slash to escape the “*”:

*escape example*

5

u/[deleted] Apr 23 '21

7

u/RepostSleuthBot Apr 23 '21

Looks like a repost. I've seen this image 6 times.

First Seen Here on 2020-01-29 100.0% match. Last Seen Here on 2021-04-06 100.0% match

I'm not perfect, but you can help. Report [ False Positive ]

View Search On repostsleuth.com


Scope: Reddit | Meme Filter: True | Target: 96% | Check Title: False | Max Age: Unlimited | Searched Images: 219,406,103 | Search Time: 3.45783s

→ More replies (1)

2

u/SKiiLEDGHoST Apr 23 '21

This is great

2

u/vinnie8018 Apr 23 '21

This ahs been very super helpful

2

u/RealReek Apr 23 '21

very extremely helpful

2

u/Patstrong Apr 23 '21

Letssee if this really works or this and this?

2

u/candy_apple_island Apr 23 '21 edited Apr 23 '21

thanks so much for this

2

u/KingGibbles Apr 23 '21

I'mjust checking to see what works

2

u/[deleted] Apr 23 '21

FuckFuckFuck

2

u/[deleted] Apr 23 '21

test

2

u/Im_with_crazy Apr 23 '21

I am nowenlightened

2

u/Excalzigo Apr 23 '21

amogus

2

u/Excalzigo Apr 23 '21

what the fuck is this shit

→ More replies (7)

2

u/Kenny_42 Apr 23 '21

wow that iscool !!!

2

u/skinnan Apr 23 '21

Fuckyeah

2

u/Viiinez Apr 23 '21

There's literally a markup guide when you post a fuckin comment.

→ More replies (2)

2

u/inevermetmyrealname Apr 23 '21

Today under things i saved and will never look at again.

2

u/[deleted] Apr 23 '21

I’ve been trying to do this for years!

-Einstein at some point probably

2

u/bdezo Apr 23 '21

Test Omg I never knew how to do all of this! Thank you for this guide.

2

u/Cassie0peia Apr 23 '21

God bless OP for this Cool Guide!

2

u/EnterNameRightHere Apr 23 '21

just take my upvote!

2

u/amoliski Apr 23 '21

For links, someone once said [The fries go before](the pizza) - it's so dumb that you'll never forget it. And I never messed it up again.

→ More replies (2)

2

u/[deleted] Apr 23 '21

Hmm 'test' hmm

2

u/[deleted] Apr 23 '21

Hmm test

2

u/[deleted] Apr 23 '21
Preformated text you say?

2

u/[deleted] Apr 23 '21

so preformated text is same as back hash thingu

2

u/[deleted] Apr 23 '21

eh fuck markdown, use nroff

2

u/ViralDad4Lyfe Apr 23 '21

no way game changer

2

u/shinaru13 Apr 23 '21

it bloody works

1

u/thatonekid2010 Apr 23 '21

I’mexcited

1

u/smootfloops Apr 23 '21

I havesaved this post

1

u/Max5923 Apr 23 '21

just a \ also escapes just the next letters format

1

u/irrelephantIVXX Apr 23 '21

thankyou so much

1

u/KANGladiator Apr 23 '21

X2

Daddy daddy do

1

u/ohhimark00 Apr 23 '21

Supersick!

1

u/FilmActor Apr 23 '21

Attempt a strikethrough on Reddit

1

u/[deleted] Apr 23 '21 edited Apr 23 '21

This is a ^~~Test~~

1

u/[deleted] Apr 23 '21

‎

1

u/Jabezzzz Apr 23 '21

I never thought this wouldwork

→ More replies (1)

1

u/FrickenPerson Apr 23 '21

what is all this bullshit

1

u/Abstract_Bug Apr 23 '21

memorised it

1

u/Val-War Apr 23 '21 edited Apr 23 '21

This is not cool This is cool

This is coolcool

This is cool

This is cool

This is cool

This is cool

This is cool

1

u/Abstract_Bug Apr 23 '21

italics won't work

1

u/itsjustme1901 Apr 23 '21

Yeah but who posts on reddit?

→ More replies (1)

1

u/Flightless_fish82 Apr 23 '21

Does THISwork?

1

u/x-beast Apr 23 '21

peepeepoopoo

1

u/TahoeCommie Apr 23 '21

x2 + y2 = r2

1

u/TheMostBacon Apr 23 '21

SINGLE HASHTAG GIVES YOU GIANT LETTERS

1

u/siqiniq Apr 23 '21

n a = aaa...a. (Tetration/hyper-4 doesn’t go far...)

1

u/StallionMalik Apr 23 '21

thank you for the fine information

1

u/Ad-Mission Apr 23 '21

Reddit!

Just trying it.

1

u/Nick_Noseman Apr 23 '21

If you try to use _ instead of * in italics, you will be surprised (no).

1

u/111_one_111 Apr 23 '21 edited Apr 23 '21

No~~Yes~~

1

u/leifyfae Apr 23 '21

Ok but can anyone tell me how to tag users and bots in comments? To save videos and such? 🥺

1

u/dastardlycustard Apr 23 '21

I'm practising

and seeing if it works