Using PNG format for mermaid diagrams make the GitHub builds hang forever #13580
Answered
by
mcanouil
IndrajeetPatil
asked this question in
Q&A
-
DescriptionI have a Quarto-based revealjs presentation which renders fine both locally and in CI. But, if I use PNG format for mermaid diagrams, the CI build hangs: Surprisingly, I can't reproduce this behaviour locally. Any clues on why this could be happening or how to even debug this? |
Beta Was this translation helpful? Give feedback.
Answered by
mcanouil
Oct 19, 2025
Replies: 1 comment 2 replies
-
|
The chromium-based browser installed on your runner/workflow is likely the cause. PNG means using Puppeteer thus a browser to "take a screenshot" of the driagram, because Mermaid.js does not do PNG. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
IndrajeetPatil
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The chromium-based browser installed on your runner/workflow is likely the cause.
PNG means using Puppeteer thus a browser to "take a screenshot" of the driagram, because Mermaid.js does not do PNG.