add TreeUtil.extractText to remove all formatting and links from a
sequence of spans
implement SectionInfo for TOC directives, etc.