Anchor links in notebook markdown

hobrob_ex
New Contributor III

Does anyone know if there is a way to get anchor links working in Databricks notebooks so you can jump to sections in the same book without a full page refresh? i.e. something that works like the following html:

<a href="#jump_to_target">Jump</a>

...

<p id="jump_to_target">Databricks for the win</p>

I want to create a table of contents for the notebook but if you use cell URLs from three dots > Copy Link in a markdown link the page refreshes in full. Not very slick.

I've read that some markdown flavours automatically create anchor links for headings which you can refer to with [Link text](#heading-text), but that doesn't seem to work in bricks, neither does trying to force the issue by using an html tag with an id.