I want to generate a table of contents based on the headlines in a WordPress post. Therefore, I've used this code to generate the anchor links for every headline: http://jeroensormani.com/automatically-add-ids-to-your-headings/
Unfortunately I've no idea how to generate a link list for these anchors. Do you know an easy way to do this based on the code above?