Posted Jan 1, 2023
in
cheatsheet
– 1 min read
Markdown cheatsheet
This Markdown cheat sheet provides a quick overview of Markdown syntax elements.
Headings
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Emphasis
Emphasis, aka italics, with asterisks or underscores.
Strong emphasis aka bold, with two asterisks or underscores.
Combined emphasis with asterisks and underscores.
Strikethrough with two tildes.
Images
Lists
Ordered:
- First ordered list item
- Another item
- Actual numbers don’t matter, just that it’s a number
- 1st.
- 2nd.
- 3rd.
Unordered:
- This is a list item
- This is a nested list item
- This is a nested list item
- This is another list item
- This is a nested list item
- This is another list item
Links
This link has a title attribute.
Tables
| Syntax | Description |
|---|---|
| Header | Title |
| Paragraph | Text |
Blockquotes
Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
You can reference a footnote like this.
If you don’t have time to do it right, when will you have time to do it over? 1
Code
Inline code has back-ticks around it.
var s = "JavaScript syntax highlighting";
alert(s);
{
"firstName": "John",
"lastName": "Smith",
"age": 25
}
Horizontal Rules
Horizontal rule uses three or more hyphens (---), asterisks (***), or
underscores (___).