Categories
HowTo

How to publish markdown content on wordpress.com

Please read update 2 below first to save some valuable time.

The workflow i am trying here is to compose in markdown on Markdownpad and just export the HTML into email and send it to my secret email id that will publish the post on my wordpress.com blog.[update:- now my blog is self hosted, but this workflow still works]

How i got around publishing is as follows.

  1. Enable posting by email on your blog. For more details read this post here
  2. Compose in Markdown on your favorite writing tool.
  3. Export/copy the content from the editor in HTML.
  4. Use a client like outlook or thunderbird or gmail etc and paste the copied content
  5. Use the code “[status draft]” in the email somewhere and send the email to your secret email id. Publishing directly doesnt work and shows up like this which is ugly.
  6. You should see the post appear among the drafts without much change in formatting, just “cut” the content and switch to HTML view and paste it there and preview should show your formatted post.
  7. Just publish it if everything looks fine.

This I think is the simplest and non geekier way to get markdown created content published on a wordpress.com blog,  incase you have a better way to do it feel free to share it in the comments.

UPDATE:

Here is a nice alternative method which you can try as well. Thanks to Alberto for pointing out.

UPDATE 2:
As of Nov 19th 2013 WordPress.com supports Markdown and you can enable it by following the instructions here. The above workflow is no longer required. Just enable markdown in your write setting on wordpress.com. If you still wanted to know how markdown worked on wordpress before it was enabled by default in WordPress.com, please read the full post. Thanks for reading