Based on Wes Bos' Mastering Markdown course.
This is a basic paragraph.
italic
bold
strong emphasis
This is a link to the custom heading but I'm not sure if it is working and I don't presently know how to check. Perhaps you need enough content to have the tagged heading exist off-screen before the link will snap to the heading.
Basic image format:
Tagged image link:
Image with an external link:
- milk
- eggs
- bread
You don't need to number the list, just use the number "1." to mark an item in an ordered list.
- Item A
- Item B
- Item C
-
Step One
- This is a sub bullet
- This is also a sub bullet
- And so is this. The style is not controlled by the syntax.
-
Step Two
- This is a sub ordered item
- This is another
-
Step Three
Here is a nested paragraph. You can also nest images.
Just use an HTML
tag to create a line break.
Here is a horizontal rule:
This is a block quote.
With two paragraphs.
Markdown accepts HTML and CSS (when placed in an HTML <style></style>
tag.)
You can fence your code with triple tilde
.
You can also define the language you are using:
<body>
<h1>Hello World.</h1>
</body>
let x = true;
const dog = `Great Dane`;
You can also show diff in code...
var x = 100;
- var y = 200;
+ var y = 300;
Tables are created by piping cells and positioning headings and data above or below defined column syntax, respectively.
Heading 1 | Heading 2 | Heading 3 |
---|---|---|
Item 1 | Item 2 | Item 3 |
Item A | Item B | Item C |
You can define the alignment of elements with colons:
Heading 1 | Heading 2 |
---|---|
Item 1 | Item 2 |
Heading 1 | Heading 2 |
---|---|
Item 1 | Item 2 |
Heading 1 | Heading 2 |
---|---|
Item 1 | Item 2 |
Heading 1 | Heading 2 |
---|---|
Item 1 | Item 2 |
- Milk
- Eggs
- Bacon
Adding an issue number like #1 and @alexrmann tags will provide GitHub specific links that are not part of the standard Markdown syntax.