940707

Source: 200531 Markdown cheatsheet, by Herman

this is my personal reference for markdown. Go to herman's cheatsheet for the full code.

Emphasis

bold italics strikethrough mark

Headers

Big header

Medium header

Small header

Tiny header

Lists

  1. Numbered list item
  2. Numbered list item
  3. Numbered list item

Links

http://www.example.com

Open in same tab

Open in new tab

Or use the heading id (the slugified name of the header) as an internal link...

Internal link

Typographic replacements

Bear Blog®© is a Good Blog™ that took ±3 years to perfect.

I drink H2O at the 6th and 12th hours of the day.

Linebreaks

Adding a single line break will not be rendered as a line break.

Here's some text. Here's some more text.

To add a single line break use a \ or two spaces at the end of the line.

Here's some text.
Here's some more text.

Adding 2 line breaks starts a new paragraph.

Here is one paragraph with lengthly text.

Here is another.

Footnotes

Here is a simple footnote,1 and here is a longer one.2

Then at the bottom of your post...

Quotes

This is a quote.
It can span multiple lines!

Images

Need to upload an image? ImgBB has a great interface (or you can upgrade your Bear account).

Cheatsheet image example

Tables

Column 1 Column 2 Column 3
John Doe Male
Mary Smith Female

Or without aligning the columns...

Column 1 Column 2 Column 3
John Doe Male
Mary Smith Female

Displaying code

var example = "hello!";

Or spanning multiple lines...

var example = "hello!";
alert(example);
  1. This is the first footnote.

  2. Here is another one.