Fix document with empty outline

Would ask for headings var, but would be
undefined.
Add raises to unsupported syntax

This will alert me when testing more markdown syntax.
I'll have to decide if I want to support Kramdown's
extensions or not.