Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does the filter work when converting to PowerPoint pptx format? #90

Open
przemyslslaw opened this issue Aug 25, 2022 · 1 comment
Open

Comments

@przemyslslaw
Copy link

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 przemyslslaw changed the title Does it work when converting to PowerPoint pptx format? Does the filter work when converting to PowerPoint pptx format? Aug 26, 2022
@raghur
Copy link
Owner

raghur commented Sep 29, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants