craftcms / anchors

Add anchor links to headings in your Craft CMS website content.
MIT License
48 stars 7 forks source link

new useAdditionalTagToAnchorTo config option #25

Closed i-just closed 1 year ago

i-just commented 1 year ago

Description

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.

Related issues

21