Make doc heading tags configurable, setup some sane defaults

This also fixes a bug where all headings are set to `<h1>` instead of child blocks being set to `<h2>`. I think we can do better with this, but it seems like a reasonable starting point for now.