From 1f2e59dcb1dfdc5b4dad5135b4fe1a055bc49dac Mon Sep 17 00:00:00 2001 From: Laurent Franceschetti <36767124+fralau@users.noreply.github.com> Date: Thu, 27 Jul 2023 09:36:29 +0200 Subject: [PATCH] Add comment to change in extra_mermaid_lib --- mermaid2/plugin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mermaid2/plugin.py b/mermaid2/plugin.py index 580a19a..f72f17c 100755 --- a/mermaid2/plugin.py +++ b/mermaid2/plugin.py @@ -96,6 +96,7 @@ def extra_mermaid_lib(self) -> str: """ Provides the mermaid library defined in mkdocs.yml (if any) """ + # as of mkdocs 1.5, extra_javascript is a list of objects; convert to string extra_javascript = map(str, self.full_config.get('extra_javascript', [])) for lib in extra_javascript: # get the actual library name