This PR adds a new useAdditionalTagToAnchorTo config setting that defaults to true (same as the current behaviour).
If it’s set to false, the id will be added to the heading tag (or if one is already present, it will be used), and the anchor link will link to the heading itself.
Description
This PR adds a new
useAdditionalTagToAnchorTo
config setting that defaults totrue
(same as the current behaviour). If it’s set tofalse
, theid
will be added to the heading tag (or if one is already present, it will be used), and the anchor link will link to the heading itself.Related issues
21