Reformatting HTML in Sublime Text

Written on September 12, 2013

Some things really are this simple. After trying every possible bundle I could get my fingers on, to no avail, I discover that Sublime Text can natively reformat improperly indented HTML. Yep. Classic RTFM.

Reindent with Sublime Text

Oh and why am I reformatting HTML? Because most CMSes have awful markup, and porting sites to Statamic means an opportunity to do things the right way. Think meticulous code cleanup for the betterment of society.