vscode-markdown-pdf icon indicating copy to clipboard operation
vscode-markdown-pdf copied to clipboard

Mermaid support?

Open unsafecode opened this issue 8 years ago • 6 comments

Cross-referencing this issues https://github.com/mjbvz/vscode-markdown-mermaid/issues/6.

We would like to have these very nice Mermaid diagrams exportable.

unsafecode avatar Aug 24 '17 14:08 unsafecode

This feature was working for a while, but as of 1.2, it seems to stop working.

vaultdand avatar Jun 14 '18 01:06 vaultdand

Hi! Any news about this enhancement?

Thanks.

Nisgrak avatar Oct 14 '19 09:10 Nisgrak

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

stevleibelt avatar Jul 21 '22 06:07 stevleibelt

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 --> [*]
    }

Arthur-GP avatar Mar 20 '23 16:03 Arthur-GP

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-mermaid v1.18.1
  • yzane.markdown-pdf v1.4.4 working
  • jebbs.markdown-extended v1.1.3: not working

goyalyashpal avatar Jun 04 '23 11:06 goyalyashpal

  • yzane.markdown-pdf v1.4.4 working
  • jebbs.markdown-extended v1.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.

bmitc avatar Mar 27 '24 20:03 bmitc