We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is your feature request related to a problem? Please describe.
SVG output should be pipe-able.
Describe the solution you'd like
mmdc -i input.mmd -o - # emit SVG by default mmdc -i input.mmd -e pdf -o - # emit PDF (if possible, I only need SVG)
Describe alternatives you've considered
I tried process substitution:
mmdc -i input.mmd -o >( tee output.svg )
but mmdc complains because the temporary output file in /dev/fd lacks file extension.
/dev/fd
Manually creating a named pipe with mkfifo works, but this requires a more complex bash script:
mkfifo
mkfifo tmp.svg cat tmp.svg | tee output.svg mmdc -i input.mmd -o tmp.svg rm tmp.svg
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is your feature request related to a problem? Please describe.
SVG output should be pipe-able.
Describe the solution you'd like
Describe alternatives you've considered
I tried process substitution:
but mmdc complains because the temporary output file in
/dev/fd
lacks file extension.Manually creating a named pipe with
mkfifo
works, but this requires a more complex bash script:The text was updated successfully, but these errors were encountered: