-
Notifications
You must be signed in to change notification settings - Fork 33
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
Use mmdc's ability to read from STDIN #24
Comments
ayorgo
changed the title
Use mmdc's ability to read from STDIN instead of a temporary file
Use mmdc's ability to read from STDIN
Dec 2, 2023
A workaround of the suggested request might be:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As
mermaid-cli
allows piping from STDIN it would be nice to bypass the creation of a temporary file in this mode.This would make
ob-mermaid
work with containerized installations without affecting current usage scenarios.For example, with the following script at
/some_path/mmdc
:I am able to generate diagrams as follows:
$ cat test.mmd | ./mmdc -o test.png
So if this behaviour was reflected in
ob-mermaid.el
the following configuration would be enough to make it work with containers:The text was updated successfully, but these errors were encountered: