Octopress uses markdown for its source files so its required for me to learn markdown if I want to blog using Octopress.
In this article I’m going to walk you through the syntax of Markdown(this will also serve as my guide later on when I start to forget things like an old man, though not all old man forgets things). But before we get started let me discourage you a bit. Markdown is not as complete as html. Things like table doesn’t exist in markdown(though there’s probably no need for it if you’re doing a tech blog).
Headers are indicated by the number of pound signs that you use before the actual header text:
1 2 3
You write paragraphs in markdown just like you write them when writing a letter. Just separate paragraphs with whitespaces.
1 2 3
Links are also easy to write just place the descriptive text inside brackets and the link itself inside parenthesis.
If the link is the same with the descriptive text you can just do it this way:
Images are also written like links. The one inside the brackets is the alt text. And the one inside the parenthesis is the link to the image itself.
How you write ordered lists is just like how you write them in real world:
1 2 3
And this is how you write unordered lists:
1 2 3 4
There are more things that you can do with markdown so checkout the resources below to learn more.