-
-
Notifications
You must be signed in to change notification settings - Fork 283
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
Command preprocessing with quote not working (e.g. with the jq
library)
#201
Comments
I did some more testing and it seems that |
jq
libraryjq
library)
In this case dropping the quotes does work, thank you 🙂 Another "workaround" in the case where quotes might be necessary in someone's command for whatever reason: creating a
and the created
|
I think I know why the quotes do not work, as we have a similar problem with pipes: #148. I think the solution can be that slides can make a temporary shell script file for the command and execute that if it contains quotes or pipes. |
@maaslalani That sounds like an elegant solution! Thanks for this library, having lots of fun playing around with it. |
Describe the bug
I'm using the
jq
library to format some JSON.Here's what my markdown file looks like:
Here's the command being run on the command line, to ensure it works as expected:
Expected behavior
I'm expecting the code block to show the output of what I see when I run the command above in the command line.
I've verified that the file has
chmod +x
permissions and other commands work.Screenshots
Just getting an empty code block. I've verified that the file has
chmod +x
permissions and other commands work.Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: