I'm getting an error message when I try inserting a Mermaid code chunk into the RStudio IDE in a Quarto document. It's my understanding that Quarto has built-in support for Mermaid diagrams and it's built into the current version of RStudio IDE (I'm using the windows community version 2023.09.1 build 494 on an up-to-date Windows 11). Mermaid is one of the code chunk options.
The code chunk:
produces the error message "'mermaid' is not recognized as an internal or external command, operable program or batch file."
FWIW the run code chunk icons do not appear in the upper right corner of the code chunk
I tried installing and loading DiagrammeR, which didn't help, although inserting the following R code chunk was an effective workaround.
Is there an extension I'm supposed to install to get Mermaid to work?