mermaid-filter icon indicating copy to clipboard operation
mermaid-filter copied to clipboard

Does the filter work when converting to PowerPoint pptx format?

Open przemyslslaw opened this issue 2 years ago • 1 comments

I've tried to covert an md file with the following mermaid code to pptx,

graph TD;
    U1((U1))-->X1((X1))
    U2((U2))-->X2((X2))
    X1((X1))-->Y((Y))
    X2((X2))-->Y((Y))
    Z((Z))-->Y

but instead of a diagram, I got a weird picture,

image

instead of:

graph TD;
    U1((U1))-->X1((X1))
    U2((U2))-->X2((X2))
    X1((X1))-->Y((Y))
    X2((X2))-->Y((Y))
    Z((Z))-->Y

It does work fine when converting to html.

przemyslslaw avatar Aug 25 '22 23:08 przemyslslaw

I haven't tested -- But, since all this does is a tree conversion (replacing a node with the corresponding img node) in the intermediate pandoc representation, this might be a pandoc issue.

Easy way to check would be to just convert a markdown image to pptx - and compare the pandoc JSONs in both cases.

I don't run windows anymore (other than a VM) though

raghur avatar Sep 29 '22 01:09 raghur