Skip to content
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

fix: render markmaps in SPA #54

Merged
merged 1 commit into from
Oct 5, 2023
Merged

fix: render markmaps in SPA #54

merged 1 commit into from
Oct 5, 2023

Conversation

gera2ld
Copy link
Member

@gera2ld gera2ld commented Oct 4, 2023

and fix compatibility issue with mkdocs-material

close #42

and fix compatibility issue with mkdocs-material

close #42
Comment on lines -130 to +131
code.name = "script"
code["type"] = "text/template"
code.name = "markmap-data"
code.attrs["hidden"] = "true"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mkdocs-material does not work with <script> template.

@neatc0der neatc0der changed the base branch from master to v2.4.2 October 5, 2023 15:02
@neatc0der
Copy link
Member

Preparing multiple fixes

@neatc0der neatc0der merged commit 3adf6a7 into v2.4.2 Oct 5, 2023
1 check failed
@neatc0der neatc0der deleted the fix/spa branch October 5, 2023 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Markmap does not work in SPA after navigation
2 participants