We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Originally posted by h7b March 26, 2023 Hi
Since v8.2, Material for MkDocs integrates with Mermaid.js natively 1, I think we don't need to include the mermaid2 plugin.
When using both of them in the mkdocs.yml, i found that the diagram is not displayed correctly.
mkdocs.yml
This is the mermaid code that I used
erDiagram BANKS ||--o{ PRODUCTS : has BANKS { int bank_id string bank_name } PRODUCTS { int product_id int loan_amount float interest_rate string accepted_risk_level int bank_id datetime created_date } CUSTOMERS ||--o{ LEADS : is CUSTOMERS { int customer_id string customer_name int customer_age string estimated_risk_level string source datetime created_date } PRODUCTS ||--o{ LEADS : applied_by LEADS { int customer_id int product_id datetime apply_date }
Here is the screencap of published page when both plugin mermaid2 and integrated mermaid.js were enabled
Next is the screencap of published page where the plugin mermaid2 is disabled
After re-verification, hope you have time to update the template
Thanks
https://squidfunk.github.io/mkdocs-material/reference/diagrams/ ↩
The text was updated successfully, but these errors were encountered:
fix: mermaid duplicate between Material & plugin
682ebe7
See Enveloppe/obsidian-enveloppe#126
f81782a
fix: duplicate mermaid2
935cb07
fix: mermaid duplicate
b9227ff
To fix this on your own template :
- pymdownx.superfences: custom_fences: - name: mermaid class: mermaid format: !!python/name:pymdownx.superfences.fence_code_format
Sorry, something went wrong.
Mara-Li
No branches or pull requests
Discussed in #125
Originally posted by h7b March 26, 2023
Hi
Since v8.2, Material for MkDocs integrates with Mermaid.js natively 1, I think we don't need to include the mermaid2 plugin.
When using both of them in the
mkdocs.yml
, i found that the diagram is not displayed correctly.This is the mermaid code that I used
Here is the screencap of published page when both plugin mermaid2 and integrated mermaid.js were enabled
Next is the screencap of published page where the plugin mermaid2 is disabled
After re-verification, hope you have time to update the template
Thanks
Footnotes
https://squidfunk.github.io/mkdocs-material/reference/diagrams/ ↩
The text was updated successfully, but these errors were encountered: