Answers for "md markdown link to section"

0

md markdown link to section

Link to the header / anchorlink by just calling it by it's name
[link](#Introduction)

The IDs are generated from the content of the header according to the following rules:
All text is converted to lowercase.
All non-word text (e.g., punctuation, HTML) is removed.
All spaces are converted to hyphens.
Two or more hyphens in a row are converted to one.
If a header with the same ID has already been generated, a unique incrementing number is appended, starting at 1.

More complex (sub) header example is
## Chapter #1: [Name with url](https://www.example.com)

Link to this header with
[Chapter 1](#chapter-1-name-with-url)
Posted by: Guest on April-29-2022

Browse Popular Code Answers by Language