Adds title attribute to TOC links and human readable hrefs.
Renders complex hrefs with type information.