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.
- Enable posting by email on your blog. For more details read this post here
- Compose in Markdown on your favorite writing tool.
- Export/copy the content from the editor in HTML.
- Use a client like outlook or thunderbird or gmail etc and paste the copied content
- 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.
- 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.
- 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.
Here is a nice alternative method which you can try as well. Thanks to Alberto for pointing out.
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