Table of Contents
Headers
Emphasis
Lists
Links
Images
Code and Syntax Highlighting
Tables
Blockquotes
Horizontal Rule
YouTube Videos
Citations
Headers
H1
H2
H3
H4
H5
H6
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse molestie pretium faucibus. In condimentum consequat euismod. Phasellus at hendrerit purus. Ut placerat neque erat, sed ultricies erat venenatis at. Morbi ornare mattis felis, ultrices varius ex pretium ac. Nullam pulvinar nibh quis nisi porta, id malesuada metus viverra.
Emphasis
Emphasis, aka italics, with asterisks or underscores.
Strong emphasis, aka bold, with asterisks or underscores.
Combined emphasis with asterisks and underscores.
Strikethrough uses two tildes. Scratch this.
Lists
- First ordered list item
- Another item
- Hello World
- Actual numbers don't matter, just that it's a number
- Lorem Ipsum
- Lorem Ipsum
Links
I'm an inline-style link with title
You can use numbers for reference-style link definitions
Or leave it empty and use the link text itself.
Images
Needs Work
Code and Syntax Highlighting
Code blocks are part of the Markdown spec, but syntax highlighting isn't. However, many renderers -- like Github's and Markdown Here -- support syntax highlighting. Which languages are supported and how those language names should be written will vary from renderer to renderer.
Inline code
has back-ticks around
it.
Blocks of code are either fenced by lines with three back-ticks, or are indented with four spaces.
JS
var s = "JavaScript syntax highlighting";
alert(s);
HTML
<div>
<h1>hello world!</h1>
</div>
Tables
Tables aren't part of the core Markdown spec, but they are part of GFM and Markdown Here supports them.
Tables | Are | Cool |
---|---|---|
col 3 is | right-aligned | $1600 |
col 2 is | centered | $12 |
zebra stripes | are neat | $1 |
There must be at least 3 dashes separating each header cell.
Markdown | Less | Pretty |
---|---|---|
Still | renders |
nicely |
1 | 2 | 3 |
Blockquotes
Blockquotes are very handy in email to emulate reply text.
This line is part of the same quote.
Quote break.
This is a very long line that will still be quoted properly when it wraps. Oh boy let's keep writing to make sure this is long enough to actually wrap for everyone. Oh, you can put Markdown into a blockquote.
Horizontal Rule
Three or more dashes
Youtube Videos
Citations
[1] The Bitcoin Standard – Saifedean Ammous (@saifedean)
[2] Bitcoin: A Peer-to-Peer Electronic Cash System – Satoshi Nakamoto
[3] Modeling Bitcoin's Value with Scarcity – PlanB (@100trillionUSD)