Skip to content

Commit

Permalink
Minor updates to the Debug section, for extra_javascript(#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurent Franceschetti committed Nov 15, 2024
1 parent b6f04e8 commit 0511d01
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions webdoc/docs/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,9 @@ This was fixed in version 1.0.8 of the mkdocs-mermaid2 library
## Explicit calls of the Mermaid library with `extra_javascript`
> For reference information see the [`extra_javascript` section](library.md/#using-extra_javascript)
> in the JavaScript page.
!!! Tip "Easy Fix"
**Upgrade Mkdocs and Mkdocs-Macros to the latest
Expand All @@ -155,9 +158,11 @@ This was fixed in version 1.0.8 of the mkdocs-mermaid2 library
Remember that explicit calls to the Mermaid.js
(through `extra_javascript` in the config file) are **optional**
and are considered a **hack** if the default procedure doesn't work.
and are considered a **hack** (failsafe) mecanism
for cases when the default procedure doesn't work.
**As of version 1.1 of Mkdocs-Mermaid2 the use of `extra_javascript` is DEPRECATED.** Use the [`javascript` parameter instead](library.md).
**As of version 1.1 of Mkdocs-Mermaid2 the use of `extra_javascript` is DEPRECATED, as a default solution.**
Use the [`javascript` parameter instead](library.md).
Expand Down

0 comments on commit 0511d01

Please sign in to comment.