markdown-viewer
markdown-viewer copied to clipboard
Mermaid: Allow to use newer rendering engine
It would be great to be able to change the rendering engine of, e.g., mermaid. It uses the mermaid version 10.8.0, which is not able to render the, e.g., coloring or namespaces with dots in it.
The used version 10.8.0 is not able to render this piece of code:
classDiagram
direction TD
class Animal
class Duck
Animal <|-- Duck
class Goose
Animal <|-- Goose
namespace animals {
class Animal
}
namespace animals.birds {
class Duck:::animals_birds
class Goose:::animals_birds
}
classDef animals_birds color:lightgreen, fill:darkgreen, stroke: lightgreen
It ends up with the error image. Like this mermaid version here ;-).
Thanks for the feedback. Mermaid will be updated to a newer version in the next release. All third-party libraries are bundled with the extension, so there is no plans to support switching between Mermaid versions.
is there some way to direct update mermaid version?