You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Crozzers edited this page Dec 4, 2023
·
2 revisions
header-ids extra
The header-ids extra does not introduce any new Markdown syntax. Instead, it simply takes modifies the headings generated and gives them unique id attributes. This allows you to link to section within a document using a fragment.
For instance, that this plain Markdown:
# The book of many colours
## Red
## Yellow
## Purple
## Purple
It will produce HTML like this:
<h1 id="the-book-of-many-colours">The book of many colours</h1>
<h2 id="red">Red</h2>
<h2 id="yellow">Yellow</h2>
<h2 id="purple">Purple</h2>
<h2 id="purple-2">Purple</h2>