DirtyMarkup 3.0

Today I launched the third major iteration of DirtyMarkup, a free tool to clean up HTML, CSS, and JavaScript. The original version launched back in 2009.

Obligatory screenshot:

dirtymarkup-3-screenshot.png

What's New

  • Complete rewrite using Node.js (previously built in PHP)
  • Using CodeMirror instead of Ace
  • Features a beautiful, custom CodeMirror theme inspired by Atom's popular One Dark
  • Upgraded to the latest tidy-html5 library
  • Using the js-beautify Node module for JS/CSS (previously used a PHP library for CSS and the client-side version jf js-beautify for JS)
  • Using local storage instead of cookies to save preferences indefinitely
  • A handful of new options for JS and CSS formatting
  • Removed the "hidden API" to make room for...

The API

The new version of DirtyMarkup runs off its own REST API, which you can use for free as of today (contributions are strongly encouraged to keep the service free).

This is, of course, subject to change based on operating costs. I've set an initial soft limit of 1,000 requests per IP per day and will adjust as required. More info in the docs.

That said, I hope you enjoy the new version of DirtyMarkup!

If you build something with the API, I'd love it if you'd let me know.

Thanks for Reading

If you found this post helpful, please check out my service Surreal CMS. It’s a hosted content management system with beautiful inline editing and a ton of other great features!

Author avatar

About the author

Cory LaViska is a founder, web developer, and bootstrapper based in Orlando, Florida. Need to get in touch? You can connect with him on Twitter. Looking for a simple, no-worry CMS for your clients? Try my Surreal CMS!