The title describes the observation in full.
Here a minimal example:
mkdocs.yml
site_name: "mermaid test"
theme:
material
plugins:
- search
- encryptcontent:
# webcrypto: true # use browsers webcrypto support
mermaid2: true
global_password: 'test'
nav:
- test: index.md
docs/index.md
```mermaid
graph LR
A[write/modify code] --> B[compile];
B --> C[debug];
C --> A;
\```
Unfortunately, I can only report the issue.