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

all defining output syntax #35

Open
wass3r opened this issue Mar 18, 2022 · 2 comments
Open

all defining output syntax #35

wass3r opened this issue Mar 18, 2022 · 2 comments

Comments

@wass3r
Copy link

wass3r commented Mar 18, 2022

looking for a way to change the default bash to something else. sometimes commands allow to output json, for example. even the default bash sometimes undesirably highlights certain words in the output.

otherwise, nice work so far :)

@10hendersonm
Copy link
Member

The language property should take care of this one. For file (default) type blocks, it is inferred from the extension (but can be overwritten). For command type blocks it will default to bash and has no way of inferring (although maybe we could try to marshal the output into JSON in an attempt).

I do realize we don't have a readme example of that. We do document the property in the reference, but an example on that one would be pretty visually compelling.

@wass3r
Copy link
Author

wass3r commented Mar 18, 2022

Ah my fault. I didn't see it in readme indeed - just when i thought i combed it through. Feel free to close or change this to add language example to readme or such 👍

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

2 participants