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

Remove bash prompt from exec blocks #11

Open
jonocodes opened this issue Oct 7, 2017 · 1 comment
Open

Remove bash prompt from exec blocks #11

jonocodes opened this issue Oct 7, 2017 · 1 comment

Comments

@jonocodes
Copy link
Owner

If a line in an input block starts with '$ ', then '$ ' would get removed before executing it. This way the markdown can follow the Docker/Arch documentation guidelines a little closer. https://docs.docker.com/opensource/doc-style/#code-and-ui-text-styling

This could also be done with root commands which conventionally start with '# '.

@jonocodes
Copy link
Owner Author

This has been mentioned upstream in the PWD.js project. Follow it here play-with-docker/sdk#11

If it is not done there, perhaps pwder can implement it in Javascript.

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