mermaid-filter
mermaid-filter copied to clipboard
Does the filter work when converting to PowerPoint pptx format?
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,
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.
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