Render headings as anchors

I am aware of being able to insert anchors next to headings (great feature!), but would also like the ability to render the heading as an anchor instead.

The markup would look something like this:

<h2>
    <a href="#{{ id }}">Sample</a>
</h2>

Similar to the current anchors, we could have the ability to override a default template for the anchor markup.

Thanks for reading!

That is very unlikely to be added, it’s too similar to the anchor next to the title. Unless many people request it, it’s not going to happen.