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

Support multiline commands in comments #76

Open
deemp opened this issue Feb 20, 2025 · 0 comments
Open

Support multiline commands in comments #76

deemp opened this issue Feb 20, 2025 · 0 comments

Comments

@deemp
Copy link
Contributor

deemp commented Feb 20, 2025

Sometimes, I need to write long commands that I don't want to show the user.

However, mdsh currently supports only single-line commented-out commands (link).

Example

For example, I created a code block with a command that shouldn't be executed by mdsh:

https://github.com/nix-community/cache-nix-action/blob/5ccd9ce507c7199b6ea3ca13797f763f69a4b7c6/README.md?plain=1#L335

and the command that should be executed:

https://github.com/nix-community/cache-nix-action/blob/5ccd9ce507c7199b6ea3ca13797f763f69a4b7c6/README.md?plain=1#L340

The latter command is quite long and it'd be convenient if I could rewrite it as a multiline one.

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

1 participant