From 012f066633b254f35654424ebc72089f33c560ac Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Tue, 25 Feb 2025 11:22:49 -0500 Subject: [PATCH] Add panzoom plugin to allow zoom in and pan/drag the mermaid drawing 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 --- mkdocs.yml | 2 ++ requirements.txt | 1 + 2 files changed, 3 insertions(+) diff --git a/mkdocs.yml b/mkdocs.yml index 8232c49..fcc4ec4 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -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 diff --git a/requirements.txt b/requirements.txt index 03681c5..8b4ef77 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,5 @@ linkml mkdocs mkdocs-mermaid2-plugin +mkdocs-panzoom-plugin mkdocs-redirects