vscode-markdown-pdf
vscode-markdown-pdf copied to clipboard
Mermaid support?
Cross-referencing this issues https://github.com/mjbvz/vscode-markdown-mermaid/issues/6.
We would like to have these very nice Mermaid diagrams exportable.
This feature was working for a while, but as of 1.2, it seems to stop working.
Hi! Any news about this enhancement?
Thanks.
Hey there, I have the same issue.
- Markdown PDF Version 1.178.297
- Markdown Preview Mermaid Support Version v1.14.2
- vscodium Version 1.69.2
All I get is a rendered "syntax error" (see here or here) in the created pdf file while the preview is working well.
Cross-referencing this issues here.
My workaround process flow is:
- Move mermaid into separate markdown file
- Enable preview
- Screenshot this preview
- Save screenshot as image file
- Use image file in original file
Still nothing on this ? I'm having issues with mermaid render. vscode-markdown-pdf version : 1.4.4 Even the mermaid given in the extention doc doesn't work
mermaid
stateDiagram
[*] --> First
state First {
[*] --> second
second --> [*]
}
this is working for me - based on the instructions given here: https://github.com/qjebbs/vscode-markdown-extended/#q-why-you-dont-integrate-some-plugin i think you need to install the extension bierner.markdown-mermaid as well.
bierner.markdown-mermaidv1.18.1yzane.markdown-pdfv1.4.4 workingjebbs.markdown-extendedv1.1.3: not working
yzane.markdown-pdfv1.4.4 workingjebbs.markdown-extendedv1.1.3: not working
Neither of these are working for me. For yzane.markdown-pdf, the Mermaid code block is simply rendered as a code block and not a mermaid diagram, despite previewing properly. For jebbs.markdown-extended, the Mermaid code block is just rendered as regular text.