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

add support for code block execution options #14

Merged
merged 58 commits into from
Mar 25, 2024
Merged

add support for code block execution options #14

merged 58 commits into from
Mar 25, 2024

Conversation

maxim-uvarov
Copy link
Member

Now it is possible to add execution options in the infostring of code block.

like ```nushell no-output

For now supported options are:

{
O: 'no-output' # don't try printing result
t: 'try' # try handling errors
n: 'new-instance' # execute outside
}

A user might use long or short form of an option. Options could be combined using comma, like in the example: ```nushell t, n

@maxim-uvarov maxim-uvarov merged commit 0842dbe into main Mar 25, 2024
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

Successfully merging this pull request may close these issues.

1 participant