Since adopting Emacs I've begun using org mode extensively for note-taking and personal organization. It's a natural choice for outlining an article or blog post, and what's more, Hakyll (using Pandoc) will compile org files just as readily as it will markdown–no configuration required.
Org markup is too rich to be completely converted to html, but a respectable subset is. Simple things like bold, underline and italic are of course supported. Here are some other examples:
Pandoc will support up to sub-sub-headings, but no more.
He doesn't have much to say.
This is an unordered list:
Ordered lists are also handled properly:
It also supports this format with items and inset information underneath:
Wouldn't it be interesting to see some source? You can do inline code
echo "like this"
, and also separate code
blocks:
factorial :: Int -> Int
0 = 1
factorial = n * factorial (n - 1) factorial n
Org mode is smart enough to correctly highlight the code-block in org-mode itself, so you don't publish embarassing typos. Just one more thing to be impressed by.
This is a quote:
Everything should be made as simple as possible, but not any simpler —Albert Einstein
My CSS may not do this justice, but this a proper table.
A | B | Long C Column | D |
---|---|---|---|
1 | 2 | 3 | 4 |
10 | 20 | 30 | 40 |
I remember back in the day when you would create your whole page layout with these bad boys. Then these upstarts named "divs" came along…
Org mode is no more convenient to write than markdown; it's edge is that it allows you to write a rough sketch and then slowly flesh it out into a finished article. Anything that lowers the barrier to producing finished articles is valueable in my estimation.