
I’ve released a quick new plugin this evening called Markdown for P2. Put simply, it allows you to use Markdown formatting in status updates and comment replies from the P2 theme front end.
I’ve been using P2 a lot lately, and have found myself cooking up little tweaks here and there to optimize it for my own uses. As soon as I ran into a situation where I needed to format a list — and started to bust out the HTML formatting within the text field, ugh — I craved Markdown.
To be fair, I haven’t really done much here except for package together what smarter folks have already done. Michel Fortin wrote PHP Markdown with support for WordPress, though the plugin was never added to WordPress.org. Then Adam Backstrom put together the support for the P2 theme in a Github Gist. Really all I did was wrap this into a handy plugin for my own purposes, and added it to WordPress.org so others can use it too.
I’ve also taken advantage of Dustin Curtis’ Markdown logo mark in the plugin header image (shown above).
Note that if you’re interested in Markdown for your non-P2 WordPress site, I’d recommend Markdown on Save by Mark Jaquith. It’s a bit better for that purpose — this plugin is really only best for P2.
That’s it for now. I hope folks find this simple little plugin useful!