Skip to content

Commit

Permalink
Add panzoom plugin to allow zoom in and pan/drag the mermaid drawing
Browse files Browse the repository at this point in the history
Otherwise drawing on e.g. https://concepts.datalad.org/s/temporal/unreleased/
is not useful really -- too small/detailed. With full screen and zoom it becomes
much more usable
  • Loading branch information
yarikoptic committed Feb 25, 2025
1 parent 080f5fb commit 012f066
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ nav:
- Dump-Things: dump-things.md
plugins:
- mermaid2
- panzoom:
full_screen: True # default False
- redirects:
redirect_maps:
# map unversioned URLs to the latest version
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
linkml
mkdocs
mkdocs-mermaid2-plugin
mkdocs-panzoom-plugin
mkdocs-redirects

0 comments on commit 012f066

Please sign in to comment.