read structure of markdown docs
allow headings on non-homepage pages