Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Jakub003's avatar

Adding id to header in laravel markdown

I am using the laravel markdown extension https://github.com/GrahamCampbell/Laravel-Markdown

It is a wrapper for https://github.com/thephpleague/commonmark

Does anyone know what this would be called, or how do I enable the ability to add ids manually in markdown?

I came across this article, but the curly brackets don't work. https://uhded.com/add-id-header-markdown

# Header Exmaple {#header-example}

I want to add the anchor IDs to navigation to link to various sections of the documentation.

Any help or guidance on how I can go about making this would be much appreciated.

0 likes
2 replies

Please or to participate in this conversation.