Skip to content

Compatibility with loadSidebar true #5

@matttrice

Description

@matttrice

Issue

If using the _sidebar.md option with loadSidebar: true mermaid charts do not render in demo.

Steps to reproduce

  1. clone repo docsify-mermaid-zoom
  2. add loadSidebar: true, to demo/index.html in the window.$docsify object
  3. run docsify serve demo (or vite)
  4. observe mermaid blocks do not render; plain text shows instead
    • refresh the page and the issue goes away consistently on my use of the plugin. Refresh does not fix the demo and I don't know why

Same occurs with loadNavbar and _navbar.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions