Mermaid Diagram Rendering Support in .md files #14025
Unanswered
CodrinSocol
asked this question in
Q&A
Replies: 1 comment 3 replies
-
|
About Because |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Hi there!
I need some help with configuring my Quarto project. According to the docs, Quarto only renders mermaid diagrams if placed in code blocks in
.qmdfiles. We have two issues with this setup:markdownlintdo not parse.qmdfile extensions (and also do IDE extensions do not recognize it).qmdfiles. Moreover, DevOps only renders Mermaid diagrams if they are wrapped in div blocks:::mermaid <diagram> :::instead of backticks.Because of the aforementioned limitations, we can only use
.mdfiles, but still want to render Mermaid diagrams in a Quarto website. The outputs we are interested in arehtmlandpdf.What I have tried so far was to create a pre-render script that converts our desired syntax into Quarto-friendly
.qmdfiles and configure the project to only render.qmdfiles. The issue with this setup is that the hot reload fromquarto previewdoesn't work anymore (of course, since there is no automatic sync between.mdsource and.qmdwhich Quarto watches).Any suggestions how I can achieve a working setup with these constraints?
Beta Was this translation helpful? Give feedback.
All reactions