Skip to content

Manually defined anchors not available via Markdown [v5 Rc-1] #2567

@paulhibbitts

Description

@paulhibbitts

Bug Report

Steps to reproduce

  1. In Markdown file, assign ID to an element (i.e. in a DIV)
  2. Create a link using the # character and assigned ID

Here is an example in Docsify v4, which works as expected:
https://paulhibbitts.github.io/docsify-v4-anchors-test/#/anchors-test

And here is an example in Docsify v5, which shows the issue:
https://paulhibbitts.github.io/docsify-v5-anchors-test/#/anchors-test

Current behaviour

The Markdown anchor link does not seem to navigate down to the page.

Expected behaviour

The Markdown anchor link should navigate down to the page.

Other relevant information

  • Docsify version:
    v5-rc1
  • Bug still occurs when all/other plugins are disabled?

  • Docsify plugins (if the bug happens when plugins enabled, please try to isolate the issue):

Please create a reproducible sandbox

Edit 307qqv236

Mention the docsify version in which this bug was not present (if any)

Please let me know if any additional info/testing is helpful, thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    v5-rcv5 rc version related

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions