Markdown Anchor Resolution for Duplicate Section Titles
Answered
I'm seeing "Cannot resolve anchor" warnings when I have a markdown document with duplicate section names. The markdown file is valid and all links work so I'm leaning towards there being a problem with the inspector.
Has anyone else seen this or does anyone have a work-around? Turning off the inspector is not a valid work-around since I want to know if the links I'm adding are correct before deploying the document.
Here's a short example:
# First
- [first background](#background)
- [second background](#background-1)
## Background
# Second
## Background
Please sign in to leave a comment.
There are known issues with anchors in Markdown support, please see:
https://youtrack.jetbrains.com/issue/IDEA-213111
https://youtrack.jetbrains.com/issue/IDEA-281067
Both of those issues have to do with capital letters. My issue has nothing to do with capital letters.
Cannot resolve anchor #background
Cannot resolve anchor #background-1
The first issue says nothing about the capital letters.
Except the part where a commenter said it was similar to
Feel free to submit a new issue specific to the duplicate anchors.
Getting back to my original question, do you have a work-around or have you seen this before?
No known workarounds, you are the first to report this issue.