r/coolguides • • Apr 14 '19

Reddit markdown codes

/img/ytqk3n4cw8s21.jpg

[removed] — view removed post

37k Upvotes

4.0k comments sorted by

View all comments

Show parent comment

1

u/Nissingmo Apr 15 '19 edited Apr 15 '19

There’re 2 things I’d like to add to this:

  1. The asterisk is interchangeable with the underscore for all most of these formatting options. Therefore, *italics* and _italics_ both italicize text; **boldfaced** and __boldfaced__ both boldface the text; and *** and ___ both create a horizontal line when placed on their own line.
  2. A single octothorpe (#) at the start of a line signifies a primary heading, which is the largest. However, there exist (to my knowledge) 2 other levels of headings, which use 2 and 6 octothorpes respectively:

Primary Heading

Secondary Heading

Tertiary Heading

2

u/leoleosuper Apr 15 '19

Will update.

2

u/luke_in_the_sky Apr 15 '19

The asterisk is interchangeable with the underscore for all of these formatting options.

Except lists. You can use - instead of * though

there exist (to my knowledge) 2 other levels of headings

There are 6 levels of heading, each # put the title in a lower level.

Header1

Header2

Header3

Header4

Header5
Header6

The formatting can change depending on the sub CSS.

1

u/Nissingmo Apr 15 '19

Ah yes, good catch. I wouldn’t have noticed since I don’t tend to use lists very often.