Giter Site home page Giter Site logo

Comments (4)

github-actions avatar github-actions commented on July 20, 2024

Thank you for your contribution! This is very appreciated.

from mkdocs-mermaid2-plugin.

fralau avatar fralau commented on July 20, 2024

@maxmar391 Thanks!

As a first step, could you try to specify the library version expected (in your config file) and see what happens?

from mkdocs-mermaid2-plugin.

maxmar391 avatar maxmar391 commented on July 20, 2024

So far, I have not specified the library version in the config file.

I have specified the version in the config file an the following happens:

When specifying version 8.6.4 (as in the code snippet on the website), the result is the same. The diagram is not rendered. Instead there is the syntax error message displayed, this time just with the version number 8.6.4.

When specifying version 8.9.0 (one minor version higher), the diagram is successfully rendered, no error message.

When specifying version 8.11.4 (the version currently used by the mermaid online editor), the diagram is successfully rendered.

When specifying version 8.12.1 (the latest version of mermaid), the diagram is also successfully rendered.

So I believe the asynchronous message was introduced perhaps with mermaid version 8.9.0.
I am still confused, because I tried to specify the version last week and I got the error message when trying out 8.12.1. Maybe something else went wrong there...

I hope this is still a good learning for you, besides making such a fuss about what seems an easy fix.

from mkdocs-mermaid2-plugin.

fralau avatar fralau commented on July 20, 2024

Not problem at all: you just provided us some good testing and documentation, thanks!

I marked this issue as "useful tip" 👍

If this is OK to you, just close the issue.

from mkdocs-mermaid2-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.