Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Replace use of findChild with find (#69)
  • Loading branch information
neatc0der authored Feb 11, 2025
commit 426a4e433a6b6cc59190f87c16f8b6461b4e341d
2 changes: 1 addition & 1 deletion mkdocs_markmap/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def on_page_content(self, html: str, page: Page, **kwargs) -> str:
code: Tag
if markmap.name == "pre":
pre = markmap
code = markmap.findChild("code")
code = markmap.find("code")
else:
pre = markmap.parent
code = markmap
Expand Down