Sunday, December 9, 2012

Occasional Markdown Plugin

I'm not too into PHP now, nor was I ever into programming for Wordpress. However, I was not happy with the Markdown options available.

I want this:

<pre class="markdown">
**Markdown here!**
</pre>

**this is not markdown**

<pre class="markdown">
**More markdown here!**
</pre>

To come out like this:

Markdown here!

**this is not markdown**

More markdown here!

So I made a plugin in Wordpress to do that. Of course, all the work was already done. Also, I have no idea if this is safe or not for your Wordpress installation. I haven't tested with comments, especially, which are user input, so be careful.

Anyway, check it out in my Github fork.


No comments: