Cheat Sheet: Styling with Markdown
Markdown is a way to style text on the web. You control the display of the document; formatting words as bold or italic, adding images, and creating lists are just a few of the things we can do with Markdown. Mostly, Markdown is just regular text with a few non-alphabetic characters thrown in, like #
or *
.
You can use Markdown in your repository files with the .md
or .markdown
extension. For more info see Mastering Markdown
Examples of all the markdowns you’ll need!
Writing what you see in each box will style your text as what follows the box.
# Header 1
## Header 2
### Header 3
#### Header 4
##### Header 5
Here’s paragraphs
## This is a header
This is a normal paragraph following a header.
This is **not** another paragraph.
But this is.
There should be whitespace (an empty line) between paragraphs.
This is a normal paragraph following a header.
This is not another paragraph.
But this is.
There should be whitespace (an empty line) between paragraphs.
Here’s text styles
Text can be **bold**, _italic_, or ~~strikethrough~~.
Text can be bold, italic, or strikethrough.
[Link to one of your pages](/group29-18hB0s/resources.html).
[Link to external webpage](http://www.sciencespo.fr).
Link to one of your pages.
Link to external webpage.
> This is a blockquote following a header.
>
> When something is important enough, you do it even if the odds are not in your favor.
This is a blockquote following a header.
When something is important enough, you do it even if the odds are not in your favor.
Here’s a horizontal rule
Here’s an unordered list:
* A level 1 item in an unordered list.
* A level 1 item.
* A level 1 item.
* A level 2 item.
* A level 2 item.
* A level 1 item.
* A level 2 item.
* A level 3 item.
- A level 1 item in an unordered list.
- A level 1 item.
- A level 1 item.
- A level 2 item.
- A level 2 item.
- A level 1 item.
- A level 2 item.
* A level 3 item.
Here’s an ordered list:
1. A level 1 item in an unordered list.
1. A level 1 item.
1. A level 1 item.
1. A level 2 item.
1. A level 2 item.
1. A level 1 item.
* A level 2 item.
* A level 2 item.
- A level 1 item in an unordered list.
- A level 1 item.
- A level 1 item.
- A level 2 item.
- A level 2 item.
- A level 1 item.
- A level 2 item.
- A level 2 item.
Here’s a table
head1 |
head two |
three |
ok |
good swedish fish |
nice |
out of stock |
good and plenty |
nice |
ok |
good oreos |
hmm |
ok |
good zoute drop |
yumm |
Here’s a box