Skip to content

Mermaid Block Diagrams not working #13614

@prosoitos

Description

@prosoitos

I have:

  • searched the issue tracker for similar issues
  • installed the latest version of Quarto CLI
  • formatted my issue following the Bug Reports guide

Bug description

I am unable to include any Mermaid Block Diagrams in my Quarto documents (I am not talking about Mermaid code blocks, but the type of Mermaid diagrams called "block diagrams").

Other types of diagrams I have tested (flowcharts and sequence diagrams) do work.

Steps to reproduce

(One of the examples from the Mermaid Block Diagrams page.)

---
format: html
---

```{mermaid}
block
  columns 3
  a b c d
```

Rendering of qmd file works without error, but instead of the diagram Mermaid inserts an image with:

Syntax error in text
mermaid version 11.6.0

Actual behavior

No response

Expected behavior

No response

Your environment

No response

Quarto check output

Quarto 1.8.25
[✓] Checking environment information...
      Quarto cache location: /home/marie/.cache/quarto
[✓] Checking versions of quarto binary dependencies...
      Pandoc version 3.6.3: OK
      Dart Sass version 1.87.0: OK
      Deno version 2.3.1: OK
      Typst version 0.13.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
      Version: 1.8.25
      Path: /opt/quarto/bin

[✓] Checking tools....................OK
      TinyTeX: (not installed)
      Chromium: (not installed)

[✓] Checking LaTeX....................OK
      Using: Installation From Path
      Path: /usr/bin
      Version: undefined

[✓] Checking Chrome Headless....................OK
      Chrome:  (not detected)

[✓] Checking basic markdown render....OK

[✓] Checking Python 3 installation....OK
      Version: 3.13.7
      Path: /usr/bin/python3
      Jupyter: 5.9.1
      Kernels: julia-1.12, python3

[✓] Checking Jupyter engine render....OK

Loading required package: sysfonts
(|) Checking R installation...........Loading required package: showtextdb
[✓] Checking R installation...........OK
      Version: 4.5.1
      Path: /usr/lib64/R
      LibPaths:
        - /home/marie/R/lib
        - /usr/lib/R/library
      knitr: 1.49
      rmarkdown: 2.29

[✓] Checking Knitr engine render......OK

Metadata

Metadata

Assignees

No one assigned

    Labels

    supporta request for support

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions