The one about Markdown

When I first heard about Markdown a couple of month ago it sparked my interest. I’ve never really felt comfortable writing in a word processor nor in a WYSIWYG editor, so using something that would make it possible to write in any text editor while maintaining a kind of form of formatting sounded like a perfect solution that would really benefit my needs. It was originally created “to be used as a format for writing for the web”, ie. an easier way to convert plain text with a simple formatting to HTML. I won’t go in to further detail one why I think it’s great, but if you need more convincing or just want to read some more on this particular subject I suggest that you scroll down to the bottom of this blog post and read a couple of links I’ve collected about Markdown and plain text. Trust me, it’s worth it!

Formatting

The formatting of the syntax is really, really simple to remember. I honestly don’t even think about anymore it when I write since it’s become like second nature to me. If you want to get a closer look of the whole syntax I suggest that you go to the official documentation.

Headings

# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6

A hashtag represents a heading, where each hashtag equals to the size of the heading, ie. a first level heading becomes a h1 tag and so on when it’s converted to HTML.

Annotations

*Bold*
**Italic**
***Bold and italic***

Side note: You can also use _ instead of * too.

[Click Here](http://www.example.com/ "Example.com")

[Click Here][example]
[example]: http://www.example.com/ "Example.com"

<http://www.example.com/>

There’s three ways to create a link. The rule of thumb is that the word you want to make clickable goes in to [] while the actual URL and title tag goes in between (). You can also use <> if you just want to make an URL clickable.

Side note: The second example is useful when you don’t want to clutter your text with the URL and the title.

Unordered lists

- One
- Two
- Three
- Four

Side note: You can also use * or + when you’re dealing with an unordered list.

Ordered lists

1. One
2. Two
3. Three
4. Four

Side note: You don’t actually have to numerically order your list if you’re going to export it to HTML, but I don’t really see the point of not doing that.

Blockquotes

> Lorem ipsum...

Side note: Even if your quote is longer than a single line you only really have to use a > at the beginning of the quote.

Images

![Alt Text](http://www.example.com/images/picture.jpg "Title Text")

Adding an image is really similar to adding a link. This may be the most “inconvenient” feature of the syntax since you have no real control over the image’s width and height, but that shouldn’t be a problem if you size it the way you want it beforehand.

Code

`.inline-code`

    .code-block {
      color: #000;
    }

You have to indent the code with four spaces or a tab to create a code block.

Editors

Basically any text editor will do since Markdown is just really plain text, but that may not be the most optimal thing (I’m a sucker for a good interface). While there’s a plethora of markdown-friendly text editors for iOS and OSX there’s not a lot of them for Windows. I personally use FocusWriter (which doesn’t really support Markdown) and MarkdownPad and I’ve played around with WriteMonkey and Markpad. I’ve also stumbled across mdCharm and Qute but I haven’t tried them out.

Like I mentioned earlier, FocusWriter doesn’t have support for Markdown but the beauty of the syntax is that it’s pretty damn readable even without highlighting. I really like the focus mode in it too and it’s cross plattform, meaning that I can use it on any OS that I want to. MarkdownPad was the first markdown editor I used so it has a special place in my heart, as lame as that might sound. In short, I use FocusWriter for when I write longer pieces of text while I fire up MarkdownPad for shorter things and format checking. This might seem like overkill, but I like to have the opportunity to once in a while use a preview while I’m typing something out.

I do think that WriteMonkey looks good too, but I’m not too fond of the idea of relying exclusively on keyboard shortcuts. I would probably like mdCharm too, especially since it has a syntax highlightning and the ability to export the Markdown files straight to PDF, which is something MarkdownPad lacks. I might try to use them more extensively at some point.

Summary

If you’re looking for a way to start intergrating plain text into your workflow, Markdown is the way to go. The formatting syntax is simple and you’re never going to be tied down to one specific tool for your writing. All in all, it’s easy to use and it’s future proof.

Further reading

comments powered by Disqus