nabeel wrote
I tried looking through the plugin's list, but couldn't find anything really (wasn't sure what to look for). If it doesn't exist, maybe I'll write it up.
IIRC there's no such plugin yet, but I think it would be very useful. Creating the plugin shouldn't be too complicated, the following two are your friends ;-):
// retrieves the toc for a given page ($ID) <dokuwiki>/inc/parserutils.php
$data = p_get_metadata($ID, 'description tableofcontents');
// builds a html list <dokuwiki>/inc/html.php
// you'll need a custom callback function (not html_li_default) to get the anchors right.
html_buildlist($data,$class,$func,$lifunc='html_li_default')
Cheers