-
Notifications
You must be signed in to change notification settings - Fork 396
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
Skip piping non-code cells #723
Comments
I'm not sure if this can be solved with |
Hi @rijobro , thanks for sharing your use case!
Very interesting! Yes sure the Python-oriented tools don't know that the comment is written in Markdown, and thus they don't
Not at the moment. But I agree, most of the tools above will only act on the code, so it would make sense to allow running them only on the code cells. Would a
|
Thanks for the quick reply! Your suggested solution certainly looks like it would solve the problem. Unfortunately, I don't think I'll have time to implement it. In the meantime I've opted for a quick-and-easy fix: This won't remove any EOL spaces for comments, which will include markdown and non-markdown, but it's a liveable solution for the time being. |
To autofix notebooks, I run a command like this:
This is removing spaces from the end of markdown lines, where a double space is needed to add a paragraph break.
Is there any way to prevent these autofixes from being applied to anything other than python cells?
The text was updated successfully, but these errors were encountered: