<CodeBlock /> with mermaid #9815
Labels
bug
An error in the Docusaurus core causing instability or issues with its execution
closed: working as intended
This issue is intended behavior, there's no need to take any action.
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and re-installing packages.Description
Hello,
With a normal mermaid config, this code is not rendering the mermaid graph (see repro link below)
The actual mermaid graph example:
https://docusaurus.io/docs/markdown-features/diagrams
Docs says
Diagrams can be rendered using [Mermaid](https://mermaid-js.github.io/mermaid/) in a code block.
but apparently not in :/
Reproducible demo
https://codesandbox.io/p/devbox/divine-framework-99ytrv
Steps to reproduce
copy this in a docusaurus with mermaid
Expected behavior
Render the graph using mermaid
Actual behavior
It shows a basic code block like
Self-service
The text was updated successfully, but these errors were encountered: