heading-outline
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
Usage
If you pipe this
heading 1 What is going on? heading 2 heading 3 heading 2b wat
into it like this:
cat index.html | heading-outline
you would get an outline like this
- heading 1
-- heading 2
--- heading 3
-- heading 2b