Automatically generated table of contents with waypoints.js integration