title: Can emacs re-indent a big blob of HTML for me?
body: <p>When editing HTML in emacs, is there a way to automatically pretty-format a blob of markup, changing something like this:</p>
  
  <pre><code>  &lt;table&gt;
    &lt;tr&gt;
  &lt;td&gt;blah&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
  </code></pre>
  
  <p>...into this:</p>
  
  <pre><code>&lt;table&gt;
   &lt;tr&gt;
    &lt;td&gt;
     blah
    &lt;/td&gt;
   &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>