-
Notifications
You must be signed in to change notification settings - Fork 263
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
Output file must end with ".svg", ".png" or ".pdf" #274
Comments
I got the same error. |
Looks like it's been fixed in the master, but the version hasn't been released yet. yarn install; source copy_modules.sh
node index.bundle.js -i mydoc.template.md -o mydoc.out.md |
We are on release 9.0.3. Please, check if the error is fixed there. |
@MindaugasLaganeckas do you think it's possible that brew version hasn't been bumped? I just tried updating and it suggests that 8.11.0 is the newest version available |
We have this issue #288 |
But even if I install from NPM with The version from npm, strangely, reports EDIT: OK, I needed to run |
This is a great workaround, thanks! |
I will close this issue then and leave #288 open. |
Describe the bug
I installed the mmdc v8.11.0 from homebrew using
brew install mermaid-cli
as described in documentation and runmmdc -i documentation.template.md -o documentation.md
wheredocumentation.template.md
contains mermaid snippets in markdown file. Then, instead of getting transformed MD, I got the errorOutput file must end with ".svg", ".png" or ".pdf"
.To Reproduce
Steps to reproduce the behavior:
brew install mermaid-cli
mmdc -i yourfile.md -o destination.md
Expected behavior
Instead of error, a transformed markdown file should appear.
Screenshots
N/A
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: