docsify icon indicating copy to clipboard operation
docsify copied to clipboard

The second embedded file doesn't show in sidebar

Open icepear-jzx opened this issue 4 years ago • 1 comments

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

  • [x] 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.

icepear-jzx avatar Jan 11 '22 04:01 icepear-jzx

Confirmed. Thanks for the report!

trusktr avatar Jan 12 '22 04:01 trusktr