-
Notifications
You must be signed in to change notification settings - Fork 76
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
mermaid not found #14
Comments
Are you on Windows? If so, you have to specify the extension and/or also
modify the cmd file. See this portion from the README:
*WINDOWS* - you need mermaid-filter.cmd in the line above
*Windows 8.1* - On windows 8.1, mermaid-filter.cmd fails - apparently due
to change in how the CMD.exe works for subprocesses? - see this issue thread
<jgm/pandoc#3458>. You have to edit the globally
installed mermaid-filter.cmd located in
c:\users\<username>\AppData\Roaming\npm to use ~dp$PATH:0. Unfortunately,
you will need to do this each time you install/update mermaid-filter since
it overwrites the cmd file.
…On Tue, Oct 3, 2017 at 8:14 PM, lonox ***@***.***> wrote:
I guess this issue is more like that i didn't install something properly
but i don't know what i have to install. after this command:
pandoc -t html -F mermaid-filter -o output.html test.md
The error message is the following:
External tool not found: mermaid
pandoc: Error running filter mermaid-filter
i tried to install mermaid from npm:
npm install -g mermaid
but it does not change my situation.
many thanks
olaf
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#14>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAfgq7SeDQLn_cugPOAEbXTga2cjK7vBks5sokg2gaJpZM4PsPA6>
.
|
Related; which mermaid version is this package supposed to work with? The original mermaid CLI is deprecated in favor of the mermaid.cli package, which installs mmdc/mmdc.cmd, but hasn't the same arguments (as far as I know). |
sorry for the late answer i am on os x i tried to exchange the cmd variable within the index.js to
but it does not work because the arguments are different but i don't know the meaning of the old arguments so it is difficult to translate further. for now i use the pandoc-mermaid filter, but that works only works for html |
I see... tbh, I haven't been tracking mermaid that closely - so didn't know
that cli args/entrypoint had changed. Will take a look and fix it up.
Thanks for the bug report.
…On Sun, Oct 8, 2017 at 9:28 PM, lonox ***@***.***> wrote:
sorry for the late answer
i am on os x
i tried to exchange the cmd variable within the index.js to
var cmd = externalTool("/usr/local/bin/mmdc") + " -v -e " +
phantomjs.path;
but it does not work because the arguments are different but i don't know
the meaning of the old arguments so it is difficult to translate further.
for now i use the pandoc-mermaid filter, but that works only works for html
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#14 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAfgqxjJjHErjYfK5V6t7I1U6zIDpw3uks5sqPEwgaJpZM4PsPA6>
.
|
I've just pushed a commit that should address this. Can you install again and see if it works for you? |
Thanks! That worked out. Just FYI; I submitted a PR for PDF support in mermaid.cli that was merged recently. I'm also currently working on SVG->EMF conversion via Inkscape so that it will be possible to import the diagrams as vector graphic in docx (Word < 2016). Word 2016 supports SVG as far as I know, but our corp hasn't upgraded yet. |
perfect thanks! |
I guess this issue is more like that i didn't install something properly but i don't know what i have to install. after this command:
pandoc -t html -F mermaid-filter -o output.html test.md
The error message is the following:
External tool not found: mermaid
pandoc: Error running filter mermaid-filter
i tried to install mermaid from npm:
npm install -g mermaid
but it does not change my situation.
I am on os x 10.10.4
many thanks
olaf
The text was updated successfully, but these errors were encountered: