Implement Table of Contents render

Implement Table of Contents render.