Skip to content

Commit

Permalink
Add comment to change in extra_mermaid_lib
Browse files Browse the repository at this point in the history
  • Loading branch information
fralau committed Jul 27, 2023
1 parent 1c1ee3a commit 1f2e59d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mermaid2/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1f2e59d

Please sign in to comment.