-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Markmap does not work in SPA after navigation #42
Comments
I'm unable to reproduce the issue. Please provide more information:
|
I prefer minimalistic examples that reproduce the issue, but OK. Let's try it with your input. Here's what I did: $ vim requirements.txt # insert your `pip freeze` output
$ vim mkdocs.yml # insert your `mkdocs.yml` output except for "custom_dir: overrides"
$ conda create -n markmap-reload -c conda-forge python=3.10.6
$ conda activate markmap-reload
$ pip install -r requirements.txt
$ mkdocs build # used minimalistic input with index.md that references a simple markmap Then, I opened it up in Firefox 104.0.2 on macOS 12.6: everything works just fine... Still unable to reproduce. My suggestion: Please provide a minimalistic example that reproduces the issue for you, e.g.: Look at this beautiful mindmap:
```markmap
# Root
## Branch 1
## Branch 2
``` |
I apologize for the previous incorrect statement. What should really be turned off is the navigation.instant feature of the theme. This feature preloads pages to improve page load speed, but it affects the re-execution of JS files. Turning off this attribute allows for automatic refresh when navigating between pages. |
The text was updated successfully, but these errors were encountered: