Skip to content

Instantly share code, notes, and snippets.

View BlakeTurner's full-sized avatar

Blake Turner BlakeTurner

  • Vancouver, BC
View GitHub Profile
@BlakeTurner
BlakeTurner / to-markdown.php
Created June 20, 2013 20:25
Convert HTML to Markdown in PHP. Great for migrating away from terrifying wysiwyg code.
<?php
/*
* to-markdown - an HTML to Markdown converter for PHP
*
* Copyright 2013, Blake Turner
* Licenced under the MIT licence
*
*/