The adjustments made in the PR allows for headings that are in [[]] format and will form the correct link to link to the linked header when the TOC creates the entries.
Header that is a Link
Header that is a link with Display Text
Header that is a link that is linked to a specific header
Header that is a link that is linked to a specific header and has display text
I did add some tests
Please let me know if you'd like any specific tests to be created or if there are other issues that you see.
My attempt at resolving Issue #24.
The adjustments made in the PR allows for headings that are in [[]] format and will form the correct link to link to the linked header when the TOC creates the entries.
Header that is a Link
Header that is a link with Display Text
Header that is a link that is linked to a specific header
Header that is a link that is linked to a specific header and has display text
I did add some tests
Please let me know if you'd like any specific tests to be created or if there are other issues that you see.