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
---title: Mermaid Testformat: pdf---# Hello!```{mermaid}sequenceDiagram participant Alice participant Bob Alice->>John: Hello John, how are you? loop Healthcheck John->>John: Fight against hypochondria end Note right of John: Rational thoughts <br/>prevail! John-->>Alice: Great! John->>Bob: How about you? Bob-->>John: Jolly good!```
Here's the error I get:
$ quarto render mermaid-test.qmd
ERROR: Internal Error: Couldn't find an svg element in svg string
This is a bug in quarto. We apologize for the inconvenience.
Please consider reporting it at https://github.com/quarto-dev/quarto-cli. Thank you!
Stack trace:
at resolveSize (file:///home/sasja/.quarto/quarto-cli/src/core/svg.ts:24:11)
at eventLoopTick (ext:core/01_core.js:175:7)
at async makePng (file:///home/sasja/.quarto/quarto-cli/src/core/handlers/mermaid.ts:353:11)
at async makeDefault (file:///home/sasja/.quarto/quarto-cli/src/core/handlers/mermaid.ts:435:16)
at async Object.cell (file:///home/sasja/.quarto/quarto-cli/src/core/handlers/mermaid.ts:475:14)
at async Promise.all (index 0)
at async Object.document (file:///home/sasja/.quarto/quarto-cli/src/core/handlers/base.ts:577:20)
at async handleLanguageCells (file:///home/sasja/.quarto/quarto-cli/src/core/handlers/base.ts:529:34)
at async file:///home/sasja/.quarto/quarto-cli/src/command/render/render-files.ts:631:41
at async withTimingAsync (file:///home/sasja/.quarto/quarto-cli/src/core/timing.ts:50:20)
Quarto check & version
I'm using the latest commit on main branch:
git show -s --format="%as %H"
2024-10-02 9d00acae2607c1d0fae479b0b8f830145454b207
From quarto check:
Quarto 99.9.9
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.4.0: OK
Dart Sass version 1.70.0: OK
Deno version 1.46.3: OK
Typst version 0.11.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 99.9.9
commit: 9d00acae2607c1d0fae479b0b8f830145454b207
Path: /home/sasja/.quarto/quarto-cli/package/dist/bin
[✓] Checking tools....................OK
TinyTeX: v2024.03.13
Chromium: 869685
[✓] Checking LaTeX....................OK
Using: TinyTex
Path: /home/sasja/.TinyTeX/bin/x86_64-linux
Version: 2024
[✓] Checking basic markdown render....OK
[✓] Checking Python 3 installation....OK
Version: 3.12.5
Path: /usr/bin/python3
Jupyter: 5.7.2
Kernels: python3
[✓] Checking Jupyter engine render....OK
[✓] Checking R installation...........(None)
Unable to locate an installed version of R.
Install R from https://cloud.r-project.org/
The text was updated successfully, but these errors were encountered:
Bug description
I'm not able to render this code to a PDF. The Mermaid code was taken from here: https://quarto.org/docs/authoring/diagrams.html#mermaid
Here's the error I get:
Quarto check & version
I'm using the latest commit on
main
branch:From
quarto check
:The text was updated successfully, but these errors were encountered: