You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The outcome of this mermaid issues has support for adding title support to yaml frontmatter. However this does not appear to work with qmd output in Rstudio (get a syntax error). mermaid-js/mermaid#3706
Mac OS Ventura 13.2.1, M1 Pro chip
Rstudio Version 2023.030.0+386
quarto check
[✓] Checking Quarto installation......OK Version: 1.2.335 Path: /Users/hk/Applications/RStudio.app/Contents/Resources/app/quarto/bin
[✓] Checking basic markdown render....OK
[✓] Checking Python 3 installation....OK Version: 3.9.6 Path: /Applications/Xcode.app/Contents/Developer/usr/bin/python3 Jupyter: (None) Jupyter is not available in this Python installation. Install with python3 -m pip install jupyter
[✓] Checking R installation...........OK Version: 4.2.1 Path: /Library/Frameworks/R.framework/Resources LibPaths: - /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library rmarkdown: 2.16
[✓] Checking Knitr engine render......OK
Attached qmd file (renamed .txt in order to upload through github) MermaidTitle.qmd.txt
Checklist
Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
Please format your issue so it is easier for us to read the bug report.
Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
Please document the operating system you're running. If on Linux, please provide the specific distribution.
Please provide the output of quarto check so we know which version of quarto and its dependencies you're running.
The text was updated successfully, but these errors were encountered:
We don't support that syntax in cells; that front matter doesn't refer to mermaid (I don't know how that is being supported in dot cases, but that's a coincidence). You need to use options delimited by %%|, since %% is the comment syntax in mermaid. We describe this in the documentation.
Bug description
Desired outcome is to add a title or Figure label and/or figure caption to a mermaid diagram in a qmd file.
Quarto documentation shows figure labeling for graphviz dot, but same syntax does not work with mermaid.
https://quarto.org/docs/authoring/diagrams.html#figures
The outcome of this mermaid issues has support for adding title support to yaml frontmatter. However this does not appear to work with qmd output in Rstudio (get a syntax error).
mermaid-js/mermaid#3706
Mac OS Ventura 13.2.1, M1 Pro chip
Rstudio Version 2023.030.0+386
Attached qmd file (renamed .txt in order to upload through github)
MermaidTitle.qmd.txt
Checklist
quarto check
so we know which version of quarto and its dependencies you're running.The text was updated successfully, but these errors were encountered: