## Table Of Contents
## <a href="#my-section-id" id="my-section-id">Section</a>
### <a href="#my-subsection-id" id="my-subsection-id">Subsection</a>
Launch pkgsite, navigate to the page of the module, and expand the documentation.
What did you expect to see?
Either HTML IDs being remapped in both the ToC and the headers or no remapping at all.
What did you see instead?
The ToC links are remapped to #readme-my-section-id and #readme-my-subsection-id respectively, while the IDs in headers stay the same, which makes the table of contents links useless.
The ultimate goal is to have a Markdown file with a table of contents and clickable headers that has the same interactive functionality in all Markdown renderers that matter. Which includes most Git hosting sites as well as pkg.go.dev. The former all work, but the latter has HTML ID issues.
The text was updated successfully, but these errors were encountered: