You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for providing the mermaid-filter. I think this is an awesome tool. I'm having trouble getting it to work though. I'm a techie but not a node person.
I got it installed and have managed to get a binary mermaid-filter which runs and accepts input. I also passed it through to pandoc as a filter with the -F parameter with no avail. I followed the instructions by Janik von Rotz at:
In order to simplify things, I decided to pass to the mermaid-filter program a simple file as follows:
cat doc.mer | mermaid-filter
This reports an error. The document contains a mermaid diagram as follows:
sequenceDiagram
Alice->>John: Hello John, how are you?
John-->>Alice: Great!
Loading
Seems like mermaid-filter expects JSON but not sure what to give it. I have markdown files with diagrams and am using Ghostwriter and find myself having to use pandoc directly as it seems I'm not sure how to get Ghostwriter to support mermaid!
I am on Kubuntu. Any assistance would be greatly appreciated!
Thanks
Regards!!
Duncan
The text was updated successfully, but these errors were encountered:
Basically, pupetteer being deprecated did not allow for the generation of the data and we need to set the environment variable to direct it to another app which can do that (chromium).
Hi There,
Thank you for providing the
mermaid-filter
. I think this is an awesome tool. I'm having trouble getting it to work though. I'm a techie but not a node person.I got it installed and have managed to get a binary
mermaid-filter
which runs and accepts input. I also passed it through topandoc
as a filter with the-F
parameter with no avail. I followed the instructions by Janik von Rotz at:https://janikvonrotz.ch/2020/11/12/render-pdf-from-markdown-that-is-using-mermaid/
In summary, using the
-F
parameter to pass a markdown file.In order to simplify things, I decided to pass to the mermaid-filter program a simple file as follows:
cat doc.mer | mermaid-filter
This reports an error. The document contains a mermaid diagram as follows:
Seems like mermaid-filter expects JSON but not sure what to give it. I have markdown files with diagrams and am using Ghostwriter and find myself having to use pandoc directly as it seems I'm not sure how to get Ghostwriter to support mermaid!
I am on Kubuntu. Any assistance would be greatly appreciated!
Thanks
Regards!!
Duncan
The text was updated successfully, but these errors were encountered: