Skip to content
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

document the use of shebang line in mmd files #364

Closed
ssbarnea opened this issue Jun 21, 2016 · 0 comments
Closed

document the use of shebang line in mmd files #364

ssbarnea opened this issue Jun 21, 2016 · 0 comments

Comments

@ssbarnea
Copy link

By adding a shebang line to the first line of the diagrams we should be able to build them by executing them.

#!/usr/bin/env mermaid

I tested and it seems to work but it would be really useful if this usage would be documented and promoted in usage examples.

Not related to this bug but I was not able to find a way to specify the filename of the output file, which seems to contain the mmd extension too (my-diagram.mmd.png) -- which is not really ideal.

mgenereu pushed a commit to mgenereu/mermaid that referenced this issue Jun 25, 2022
…yarn/develop/typescript-4.4.3

chore(deps-dev): bump typescript from 4.4.2 to 4.4.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant