Marky the Markdownifier, reworked and refined

Marky the Markdownifier, my web tool that extracts web articles and converts them to Markdown, has received an update that resolves quite a few standing issues. It’s a major update and partial rewrite, so there may still be some bugs. Please feel free to drop me a line on Twitter or contact me directly if you run into problems.

The biggest changes are that the “readability” functions that strip ads, menus, comments, etc. out of the post are now handled by an updated version of PHP Readability, and the “markdownifying” part is handled by html2text instead of PHP Markdown Extra. The previews are also rendered by MultiMarkdown 4 now.

The most obvious improvement in all of this is that if a post contains images within links (i.e. hyperlinked images), it won’t throw off the reference counter for the links. Previously, this circumstance pretty much entirely broke the output. There are still some edge cases that are breaking it, but I’m narrowing them down one at a time. Twitter timeline capture is broken, but I’m not planning to fix that one. A few articles are coming up blank; if you run into one of those, please shoot me the url.

All of the API features should still be intact, and the bookmarklets should work as they always have. Head over to and check out the new, improved version in your choice of flavors.

Brett Terpstra

Brett is a writer and developer living in Minnesota, USA. You can follow him as ttscoff on Twitter, GitHub, and Mastodon. Keep up with this blog by subscribing in your favorite news reader.

This content is supported by readers like you.

Join the conversation