See the outline of your html document as semantically structured by your heading elements. This is useful to optimize your page for accessibility (a11y).
This module is inspired by the same feature in the WAVE testing tool
If you pipe this
heading 1What is going on?heading 2heading 3heading 2bwat
into it like this:
cat index.html | heading-outline
you would get an outline like this
- heading 1 -- heading 2 --- heading 3 -- heading 2b