Open jeffbarr opened 3 years ago
Thanks for the issue, confirmed and repro'd. The preview pdf export is currently a few versions out of date from the most recent Dendron markdown syntax. Will aim to clear some cycles in May to fix this
So May might have been ambitious 😅 @jeffbarr apologies for the delays on this, this item is still in our backlog.
I've written up a workaround in the meantime. Let me know if this works as a temporary solution.
The following installs everything on a mac. For other operating systems, you can see references at the bottom
echo "install pandoc"
brew installpandoc
brew install basictex
echo "install mermaid"
npm install -g @mermaid-js/mermaid-cli
echo "install filter"
pip3 install pandoc-mermaid-filter
pandoc {path/to/src} -o {path/to/dst} --filter pandoc-mermaid
Please select the area your Bug applys to. (Multiple selections are Possible)
Describe the bug
If I include a Mermaid graph in my Markdown, the graph shows up in the preview but not in the PDF.
To Reproduce
Steps to reproduce the behavior:
Sample Mermaid graph
Expected behavior
Graph is visible
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information)
Additional context
Add any other context about the problem here.
Dendron Log file
Please attach the output of
>Dev:Dendron: Open Logs
here Untitled-1.log