craigmcn

Markdown

I’ve been loving using Markdown to write my Wordpress blog posts. I’ve also been loving using it for a lot of other things too. Without having to use rich-text formatting, which might not be available or efficient depending on the situation, I can present my content clearly using simple syntax.

Wordpress and Github parse the text into HTML, but I use it as-is in Evernote rather than using the text formatting that’s available. I find it a lot easier when using the Evernote app on my mobile device.

I use Adam Pritchard’s terrific cheat sheet, but here are the basics:

# A Nice Title

Or a Nice Title
===============

## A section title

**Some text.** Lorem ipsum dolor sit amet, _consectetur adipiscing elit._ Vestibulum feugiat finibus elit ac congue. Pellentesque commodo ipsum ligula, a imperdiet nibh auctor sit amet. Praesent ut luctus odio, nec finibus augue.

### A smaller heading

* a list item
* another list item
+ a slightly different list item
- another kind of list item

A [link](http://craigmcn.ca/) to my website.

Which can be parsed to:

A Nice Title

Or a Nice Title

A section title

Some text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum feugiat finibus elit ac congue. Pellentesque commodo ipsum ligula, a imperdiet nibh auctor sit amet. Praesent ut luctus odio, nec finibus augue.

A smaller heading

  • a list item
  • another list item
  • a slightly different list item (sadly, parses the same)
  • another kind of list item

A link to my website.

0Comments