Closed aknot242 closed 2 months ago
@codygreen reopening, not resolved. Anchors having the same title are duplicates, so will not link correctly:
In the above page, each duplicate link results in #example
, so there is no uniqueness. As a result, the browser doesn't know which one to scroll to.
fixed in #152
Duplicate headers will not link. Need to find a durable way to add unique identifiers that aren't random every lab instance or refresh.
FYI, this plugin would be ideal, but the default unique id setting does not seem to work for me. Might be an MDXJS v2 issue: https://github.com/sindresorhus/remark-custom-header-id