Add on-hover and link support to table of contents.