Skip to content

The second embedded file doesn't show in sidebar #1718

Open
@icepear-jzx

Description

@icepear-jzx

Bug Report

Steps to reproduce

  1. Clone my repo: https://github.com/IcePear-Jzx/docsify-bugs
  2. Run docsify serve .
  3. Open http://localhost:3000
  4. Click "Page2" in sidebar

What is current behaviour

In the sidebar, "Page2" have "Embed 1 Title 1" and "Embed 1 Title 2". However, in the main content, "Page2" have four subtitles.

If you click "Page1", you can see four subtitles in the sidebar.

If you are on "Page2", then refresh the browser. You can see four subtitles for "Page2", but only two subtitles for "Page1".

What is the expected behaviour

Both "Page1" and "Page2" should have four subtitles in the sidebar.

Other relevant information

  • Bug does still occur when all/other plugins are disabled?

  • Your OS: MacOS Big Sur Version 11.6

  • Node.js version: v17.0.1

  • npm/yarn version: 8.1.0

  • Browser version: Google Chrome Version 96.0.4664.110 (Official Build) (x86_64)

  • Docsify version: docsify-cli version: 4.4.3

  • Docsify plugins: None

Please create a reproducible sandbox

Edit 307qqv236

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

Don't know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugconfirmed as a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions