The goal of Markdown is that it is as intuitive to write as it is to read. This makes most of the syntax pretty (and) self-explanatory.
Each paragraph is surrounded by blank lines. Normally line-breaks are ignored, but if you do want to insert a hard line-break simply end you line with two or more spaces. This is useful if you’re writing a poem:
Roses are red
Violets are blue
Markdown is awesome
And so are you..! ^_^
When you want emphasize something, you simply surround it with underscores or with asterisks. This makes the font italic.
If it’s very important you can also put strong emphasis on it and make it bold.
As you have probably noticed by now, you can underline headers with either equal signs (first level) or dashes (second level).
You can also put hash characters before (and optionally behind) the header like this:
Multiple paragraphs within a list items is also possible.
Just remeber to indent your lines properly.
Promote your favorite search engine or spread the lulz by linking to it!
Or you can just throw in a URL: http://icanhascheezburger.com/ or email someone@somewhere.com.
“Believe those who are seeking the truth. Doubt those who find it.”
— Andre Gide
Programming code
has to be indented with
at least four spaces or one tab.
int main()
{
printf("hello, world");
return 0;
}
Item | Price | Description |
---|---|---|
Apple iPad | $499 | It’s revolutionary! Boom! |
Limousine | $29900 | It’s expensive! |
Cake | $20 | It’s delicious! |
\(a^2 + b^2 = c^2 \Leftrightarrow c = \sqrt{ a^2 + b^2 }\)