h1 Heading 8-)
h2 Heading
h3 Heading
h4 Heading
h5 Heading
h6 Heading
Alternatively, for H1 and H2, an underline-ish style:
Alt-H1
Alt-H2
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.
This is bold text
This is bold text
This is italic text
This is italic text
Strikethrough
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque nec elit dui. Vivamus sagittis leo nec accumsan porttitor. Morbi tempus lacinia tortor, sodales posuere ipsum convallis ac. Integer efficitur cursus diam, sit amet condimentum enim faucibus et. Sed non facilisis lorem. In nec enim ac tortor pharetra vehicula ac id ligula. Maecenas lacus ligula, auctor eget justo vitae, tristique scelerisque nunc. Phasellus hendrerit quam nulla, sit amet pharetra risus suscipit id. Duis lobortis interdum sollicitudin. Vivamus placerat, ante ac bibendum tincidunt, sapien lorem porta neque, vitae facilisis ipsum risus non eros. Pellentesque ac sem sit amet justo ultricies dignissim et non arcu. Nam egestas magna eget ex finibus porttitor. Fusce vel velit sed ante pretium sodales in vel nulla. Morbi ut mattis tellus, non blandit lacus. Etiam in dui semper, tristique elit et, facilisis nisi.
Ordered lists
-
First ordered list item
-
Another item
- Unordered sub-list needs indented 4 spaces
-
Actual numbers don't matter, just that it's a number
- Ordered sub-list needs indented 4 spaces
-
And another item.
You can have properly indented paragraphs within list items. Notice the blank line above, and the leading spaces (at least one, but we'll use three here to also align the raw Markdown).
This is a paragraph This is the same paragraph Still the same.
-
And the list continues
Un-ordered lists
- Unordered list can use asterisks (*)
- Or minuses (-)
- Or pluses (+)
- marker character change forces a new list start
Can also make todo lists
- Finish my changes
- Push my commits to GitHub
- Open a pull request
- @mentions, #refs, links, formatting, and
tagssupported - list syntax required (any unordered or ordered list supported)
- this is a complete item
- this is an incomplete item
And links
I'm an inline-style link with title
I'm a relative reference to a repository file
You can use numbers for reference-style link definitions
Or leave it empty and use the link text itself.
Naked urls will not get turned into links: https://www.example.com, nor google.com
Normally angle brackets could be used, but since this is an MDX file it can't be used!
Some text to show that the reference links can follow later.
Inline `code` has ticks around them
Inline code
has ticks around them
This is a very long paragraph with lots of code embeded inside of it, you can see that it doesn't have any issues aligning the elements. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque nec elit dui. Vivamus sagittis leo nec accumsan porttitor. Morbi tempus
lacinia tortor, sodales posuere ipsum convallis ac. Integer efficitur cursus diam, sit amet condimentum enim faucibus et. Sed non facilisis lorem. In nec enim ac tortor pharetra vehicula ac id ligula. Maecenas lacus ligula, auctor eget justo vitae, tristique
scelerisque nunc. Phasellus hendrerit quam nulla, sit amet pharetra risus suscipit id. Duis lobortis interdum sollicitudin. Vivamus placerat, ante ac bibendum tincidunt, sapien lorem porta neque, vitae facilisis ipsum risus non eros. Pellentesque ac sem sit amet justo ultricies dignissim et non arcu. Nam egestas magna eget ex finibus porttitor. Fusce vel velit sed ante pretium sodales
in vel nulla. Morbi ut mattis tellus, non blandit lacus. Etiam in dui semper, tristique elit et, facilisis nisi.
@font-face {
font-family: Chunkfive; src: url('Chunkfive.otf');
}
body, .usertext {
color: #F0F0F0; background: #600;
font-family: Chunkfive, sans;
}
@import url(print.css);
@media print {
a[href^=http]::after {
content: attr(href)
}
}
Colons can be used to align columns.
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. The outer pipes (|) are optional, and you don't need to make the raw Markdown line up prettily. You can also use inline Markdown.
Markdown | Less | Pretty |
---|---|---|
Still | renders | nicely |
1 | 2 | 3 |
First Header | Second Header |
---|---|
Content Cell | Content Cell |
Content Cell | Content Cell |
Command | Description |
---|---|
git status | List all new or modified files |
git diff | Show file differences that haven't been staged |
Command | Description |
---|---|
git status | List all new or modified files |
git diff | Show file differences that haven't been staged |
Left-aligned | Center-aligned | Right-aligned |
---|---|---|
git status | git status | git status |
git diff | git diff | git diff |
Name | Character |
---|---|
Backtick | ` |
Pipe | | |
A table without a header doesn't exist, sorry
| I | wont | | do | anything |
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.
Blockquotes can also be nested...
...by using additional greater-than signs right next to each other...
...or with spaces between arrows.
Three or more...
Hyphens
Asterisks
Underscores