Markdown is a type of computer language… hold it, don’t switch off just yet, it’s not that dull. Those of us who write blogs sometimes have to deal with HTML, and that’s ugly and a whole lot more typing than we really need to do to say what we want to say. Markdown lets you avoid _most_ of the HTML you are likely to need to type. Let me explain…
Instead of typing `
A Title
`, you just need to type `# A Title`, for `
Subtitle
` it’s `## Subtitle`. In addition, markdown doesn’t require you to remember all the HTML escape sequences for `&<>#` etc., you can just type the literal character and markdown will take care of the code for the entity for you, nice.
For all the details about markdown take a look at the [Daring Fireball](http://daringfireball.net/projects/markdown/) web-site. See, there’s another great markdown feature, automatic link creation, rather than have me explain it, read what the [documentation](http://daringfireball.net/projects/markdown/syntax#link) says about it.
Anyway, I’m hoping to be blog more often, and consequently I expect much of this stuff to become known, rather than having to refer to the web-site all the time. But, until this stuff *is* knowledge, here’s my quick reference guide.
Formatting | |
---|---|
markdown | html equivalent |
# Title | h1 |
## Subtitle | h2 … up to ###### for h6 |
_word_ or *word* | emphasis |
__word__ or **word** | strong |
Lists | |
`*`, `+`, or `-` | unordered list item |
1. | ordered lists (n. you must include the dot) |
Links | |
This is where it gets really good, you should read about it on the Daring Fireball | |
[link text](link) | <a href="http://link/">link text</a> |
Trackback this post | Subscribe to the comments via RSS Feed