Dynamically add TOC to rendered wiki.