PHP Markdown is a handy PHP script which converts markdown into HTML.
You can, of course, get the code from GitHub.
In case you don’t know what markdown is, it’s a tool built by John Gruber in 2004 which converts formatted text into HTML. Markdown is also used as the name for the formatted text. ie. as opposed to the way HTML is often referred to as markup. The beauty of markdown is that it’s very simple.
Markdown has really grown in popularity recently, I guess because of things like its use on GitHub and the rise of simple text editing iOS tools like Byword and iA Writer.
Anyway the PHP Markdown script should be pretty useful to our development at some stage. It is primarily intended as a WordPress plugin, although as yet I don’t think there’s going to be any particular reason for us to use it on blogs.kent. More likely we’d want to use it in our own PHP code for a range of systems where simple text editing is needed. I’m not sure exactly how we’d want to use it yet, but I can feel it in my bones…