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
- Generic list item
- Generic list item
- Generic list item
- Numbered list item
- Numbered list item
- Numbered list item
Links
Or use the heading id (the slugified name of the header) as an 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).
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);