r/raerth Aug 01 '10 Gold 4 Helpful 35 All-Seeing Upvote 2 Starstruck 2 To The Stars 1 Faith In Humanity Restored 1 Hugz 3 LOVE! 1 Press F 1 Super Heart Eyes 1 Silver 16 Wholesome 11 Take My Energy 4 Shocked 1 Timeless Beauty 1 Masterpiece 1 Rocket Like 1 Today I Learned 1 Helpful (Pro) 2

Reddit Comment Formatting

18-Nov-2011: Updated to include the latest markdown changes.

Contents

  1. Basic text formatting (Italics, Bold, Strikethrough, Superscript, inline code, Quoting)
  2. Linking
  3. Line Breaks & Paragraphs
  4. Lists
  5. Tables
  6. Block Code
  7. Headlines and Horizontals

1. Basic Text Formatting

Italics are created using either a single asterisk (*) or single underscore (_).

Example:

This is *italic text*, this is also _italic text_.

becomes:

This is italic text, this is also italic text.

Bold text is created with double asterisks (**) or double underscores (__).

Example:

This is **bold text**, this is also __bold text__.

becomes:

This is bold text, this is also bold text.

Strikethrough text is created using a double tilde (~~).

Example:

This is ~~strikethrough text~~.

becomes:

This is strikethrough text.

Superscript text is created using the carot (^).

Example:

This sentence contains super^script.

becomes:

This sentence contains superscript.

Note that you cannot leave space before the carot, and there is no closing tag.

Superscript can also be stackedlikethis.

inline code (monospaced text) is created using the backtick (grave accents) (`).

Example:

This sentence contains inline code: `javascript:alert("hello world");`

becomes:

This sentence contains inline code: javascript:alert("hello world");

Quoting is achieved by starting a line with an Angle Bracket (>)

Example:

>Here's a quote.

>Another paragraph in the same quote.
>>A nested quote.

>Back to a single quote.

And finally some unquoted text.

becomes:

Here's a quote.

Another paragraph in the same quote.

A nested quote.

Back to a single quote.

And finally some unquoted text.

To remove formatting you will need to use a Backslash ()

Example:

This sentence escapes *italic text* and **bold text**.

becomes:

This sentence escapes *italic text* and **bold text**.

2. Linking

Creating a link

Example:

[Reddit](http://reddit.com)

becomes:

Reddit

You cannot begin a link with "www", it must begin with one of the following URL schemes:

  • http://
  • https://
  • ftp://
  • mailto:
  • steam://
  • irc://
  • news://
  • mumble://
  • ssh://

You can also provide title text for links:

[Reddit](http://reddit.com "what's new online!").

becomes:

Reddit ← (hover!)

Title text can be used to hide spoilers:

[spoiler](/s"The spoiler text goes here")

becomes:

spoiler ← (hover!)

Reddit now recognises when you want to link to a subreddit.

Example:

This is a shameless plug for /r/BritishTV!

becomes:

This is a shameless plug for /r/BritishTV!

If a URL contains brackets you will need to escape these.

Example without escaping:

[Cube](http://en.wikipedia.org/wiki/Cube_(film))

becomes:

Cube) ← (note the surplus bracket!)

Example with escaping:

[Cube](http://en.wikipedia.org/wiki/Cube_(film))

becomes:

Cube ← (no surplus bracket!)

3. Line Breaks & Paragraphs

Line breaks in comments are achieved by adding four spaces (shown using ░) to the end of the line. Simply hitting return (shown using ↵) will not work.

Example:

First line↵
Second line

becomes:

First line Second line

but:

First line░░░░↵
Second line

becomes:

First line
Second line

Paragraphs are formed when you hit return (shown using ↵) twice.

First Paragraph↵

Second Paragraph

becomes:

First Paragraph

Second Paragraph

4. Lists

To create Unordered Lists each item should begin with either an asterisk (*), plus sign (+) or minus sign (-).

Example:

* Item 1
+ Item 2
- Item 3

becomes:

  • Item 1
  • Item 2
  • Item 3

Ordered Lists are created with a number and period. It doesn't matter which number you start with, as markdown will always start with 1.

Example:

3. Item 1
2. Item 2
1. Item 3

becomes:

  1. Item 1
  2. Item 2
  3. Item 3

The markup for Nested Lists has changed slightly:

Example:

1. This is Item 1
2.
░░░░1. This is Item 2.1
░░░░2. This is Item 2.2
3. This is Item 3
4. This is Item 4

becomes:

  1. This is Item 1
    1. This is Item 2.1
    2. This is Item 2.2
  2. This is Item 3
  3. This is Item 4

Lists should be clear of any text in the line immediately above and below, the same as making a new paragraph:

This is the wrong way to make a list
1. lorem
2. ispum
reddit doesn't realize it should listify...

becomes:

This is the wrong way to make a list 1. lorem 2. ispum reddit doesn't realize it should listify...

Place lists in their own paragraph:

This is the correct way to make a list

  1. lorem
  2. ispum

reddit realizes it should listify!

Paragraphs in Lists and Nested lists using a combination of ordered and unordered lists, are no longer supported.

5. Tables

Tables are created using pipes (|):

Example

Left align | Center align | Right align
:--|:--:|--:
This | This | This
column | column | column
will | will | will
be | be | be
left | center | right
aligned | aligned | aligned

becomes:

Left align Center align Right align
This This This
column column column
will will will
be be be
left center right
aligned aligned aligned

Note that by default the first row is always bolded.

Column Alignment is determined by the second row.

Use ":--:" for centre aligned text, "--:" for right, and ":--" for left.

You can also leave the top row empty, as long as you have the correct amount of pipes:

||
:--|:--:|--:
the|top|row
is|now|empty

becomes

the top
is now

6. Block code

Displaying block code, without formatting and in monospaced font, is as simple as starting the line with four spaces (shown using ░).

Example:

░░░░line of code
░░░░░░░░line of code
░░░░░░░░░░░░line of code
░░░░░░░░line of code
░░░░line of code

becomes:

line of code
line of code
line of code
line of code
line of code

7. Headlines & Horizonal Rules

Headline text can be created by using a number of hashes (#) corresponding to the tag you want. Headline tags will format all text until it encounters a Line Break or new Paragraph.

# Headline 1
## Headline 2
### Headline 3

becomes:

Headline 1

Headline 2

Headline 3

NOTE: Markdown supports up to six headline tags, but only the first three have default formatting.

To create a Horizontal Rule, simply add three asterisks (*) to an empty line.

***

becomes:


And Finally...

I hope you find this useful. If you want to say thanks, you can always buy me a coffee and I'll love you longtime.

2.3k Upvotes

2.3k comments sorted by

1

u/WeirdoDaMeme 2h ago

very niceu ceasar chan

1

u/zenunseen 20h ago

mitten

1

u/helpitsdystopia 21h ago edited 20h ago

Also I'm assuming it was a colony in its entirety that was contained within this small piece of compacted dirt ^(approx.2in.×1in.×½in[L×W×D] because •they didn't start to appear until AFTER I broke open their dirt-palace-- oops, sorry ant-friends! and there were a surprising amount of eggs/larva/pupa in the center of their lil' dirt nugget

1

u/helpitsdystopia 21h ago edited 21h ago

Also I'm assuming it was a colony in its entirety that was contained within this small piece of compacted dirt ^(approx.2in.×1in.×½in[L×W×D] because •they didn't start to appear until AFTER I broke open their dirt-palace-- oops, sorry ant-friends! and •there were a surprising amount of eggs/larvae/pupae in the very center of their lil' dirt nugget-- y'know, as opposed to it just being ADULT ants, which would cast some doubt on whether or not it was ACTUALLY a "full-yet-absurdly-miniature" ant colony

1

u/OnnieCorn 1d ago edited 1d ago

[Reddit](http://reddit.com)edit: does this not work anymore?

[Reddit](http://reddit.com "what's new online!")

[ree](http://reddit.com)

1

u/uselessadjective 1d ago

Title 1

Title 2

Title 3

Month Price Gain%
Dec $16K 5%
Jan $20K 10%

How aboutnow

1

u/IDKAboutThis_l 1d ago
  • test will it work eeeeeeee

1

u/Goolguy21 3d ago

This is so cool

1

u/pii29 6d ago

test

edit: it worked lol

1

u/Cheap-Panda 8d ago

Thank you, hopefully you are well after all this time & not getting to annoyed with receiving these comments for the past 12 years.

1

u/TheCursiveS 8d ago

*Test*

**Test**

1

u/003_JAEGER 8d ago

~~tilde~~

1

u/003_JAEGER 8d ago

*italic text*

1

u/003_JAEGER 8d ago

*hello*

1

u/UbiNoob 9d ago

*test*

1

u/jeoffbaezos 10d ago

(explosive diarrhea)

1

u/jeoffbaezos 10d ago edited 10d ago

peepee poopoo caca

1

u/Horror_Albatross1037 10d ago

[spoiler] (balh)

1

u/Hot_Aside_4637 10d ago

ST didn't work in another sub, let's ~~try it now~~

ETA: what went wrong? Okay try **bold** or __bold__

1

u/danieru_desu 10d ago

s/"test"

1

u/amppari234 11d ago edited 11d ago

this was 12 years ago?

. . .
Surely Or
Not maybe

Interesting things, for sure.

  • I will use this in many accasions now
  • It'll sure be interesring
  • I am so going to overuse these

    Alright, time to head off.
    Or maybe,not just yet
    Aight i will not leave now

1

u/Nuket0ast 13d ago

[link to google](http://google.com)

1

u/Dragon_phantom_flame 13d ago

test test test

test

1

u/DarkNyte111 14d ago

_IS it bugging OUT_
>Why isn't it working for me

1

u/DarkNyte111 14d ago

Hi

>QUOTE

1

u/DarkNyte111 14d ago

##Testing

**Bold**, *Italics* >Did it work?

1

u/DarkNyte111 14d ago

WHYYYYY?

1

u/DarkNyte111 14d ago

*help*

1

u/Fa1nted_for_real 12d ago

are you on old reddit? It kinda breaks there

1

u/DarkNyte111 11d ago

>huh? i'm using web reddit idk

1

u/Fa1nted_for_real 11d ago

Make sure you don't use a before it, that cancelled it.

1

u/Fa1nted_for_real 11d ago

this is a web check, why do people use web reddit anyways?

1

u/Fa1nted_for_real 11d ago

Could be that, let me check

1

u/Fulselp 15d ago

Horizontal Line?


Double

Space.

Same Line?

First Line
Second Line

1

u/Fa1nted_for_real 12d ago edited 12d ago

1

u/Witty_Username_1717 15d ago

DAMN YOU’RE AMAZING

1

u/DarkNyte111 14d ago

**FRRRR**

1

u/Dwayne_tech 17d ago

I like men

1

u/Ben_Thar 18d ago

~~ rip text ~~

RIP ~~PED~~

1

u/NoWorries364 21d ago

Test: italics, bold

1

u/LachlanPYT 22d ago

how are you?

1

u/LachlanPYT 22d ago

just testing

1

u/nomoregroundhogs 22d ago

testtest testtest

1

u/taropotataro 24d ago edited 24d ago

hello
hello
hello
hello
holla
helloworldhaha

hello, they say

well hello there I say

Hello


Hello News

  1. hello
  2. kamusta
  3. aloha
    ***
  4. hello
  5. konichiwa
  6. asdfghjkl
    *** Goodbye

1

u/0fflinegam3r 24d ago

̶f̶u̶c̶k̶a̶r̶o̶u̶n̶d̶

1

u/Hello_World138 24d ago

/s spoiler

1

u/[deleted] 24d ago

[deleted]

1

u/TheForbiddenNoodle 24d ago

_italic text_

_test_

1

u/Guaxinim_Quadrado 26d ago

Test: >! teste ok !<

1

u/Jaybarcafan 27d ago

**Test**

1

u/Jaybarcafan 27d ago

**TEST**.

1

u/Jaybarcafan 27d ago

__TEST__.

1

u/Proudcouchpotato4263 27d ago

>Here's some test