Fetches all heading tags from a page and returns their texts as an indented list