add description of how headings are searched
add description of how headings are searched

Extracted from https://github.com/afeld/bootstrap-toc/pull/26.

afeld/bootstrap-toc,afeld/bootstrap-toc,afeld/bootstrap-toc