This has been added in this pull request.
It generates toc_x
anchors, with x incremented for each new header.
If you define a link like:
[My link to third header](#toc_3)
It will link you to the current page third header (no matter what level that header is).