Is it possible to create a table of contents in markdown?
Solved
Labna
Posted messages
32
Status
Membre
-
bruno -
bruno -
Hello everyone,
I'm writing web pages with markdown and they are starting to get long, and having a table of contents would make it easier to read, but I can't find how to create links that go directly to my headings.
Does that exist? If not, it does exist in HTML, but I don't know the code.
Thanks in advance!!
I'm writing web pages with markdown and they are starting to get long, and having a table of contents would make it easier to read, but I can't find how to create links that go directly to my headings.
Does that exist? If not, it does exist in HTML, but I don't know the code.
Thanks in advance!!
2 réponses
Thank you very much for your reply, it has re-energized my research.
And it allowed me to find the solution: (for those who might come across this question)
in html: link: <a href="#nomAncre">display link</a>
linked title: <h2 id="nomAncre">title</h2>
in markdown: link: [display link](#nomAncre)
title: ##Title <a id="nomAncre"></a>
Here is the conclusion of this question,
Thanks again to Atienon
See you soon !!
And it allowed me to find the solution: (for those who might come across this question)
in html: link: <a href="#nomAncre">display link</a>
linked title: <h2 id="nomAncre">title</h2>
in markdown: link: [display link](#nomAncre)
title: ##Title <a id="nomAncre"></a>
Here is the conclusion of this question,
Thanks again to Atienon
See you soon !!
bruno
Thank you for your solution.