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

 

0
7 comments

Both of those issues have to do with capital letters. My issue has nothing to do with capital letters.

# First

- [first background](#background)
- [second background](#background-1)

## background

# Second

## background

Cannot resolve anchor #background

Cannot resolve anchor #background-1

0

The first issue says nothing about the capital letters.

0

Except the part where a commenter said it was similar to

Similar to 1 issue (1 unresolved)
 
N
 
Regardless, the first issue has nothing to do with duplicate section names and talks about HTML anchors. Neither of those issues is related to mine, unless you have some insight that you wish to share.
0

Feel free to submit a new issue specific to the duplicate anchors.

0

Getting back to my original question, do you have a work-around or have you seen this before?

0

No known workarounds, you are the first to report this issue.

0

Please sign in to leave a comment.