Button to copy URL to a heading or block

Use case or problem

I want to reference to a heading in a note from outside. Obsidian URL supports navigation to a heading. But I have to manually append “%23” and the heading. I’m looking for a quick button to do it.

There is a button for copying URL to a note.

It would be convenient to have a button to copy the URL to a heading.

Proposed solution

Right-click heading → add a button to copy url