Is it possible to have jupyter nbconvert ... --to script ignore markdown cells rather than convert them to comments?
jupyter nbconvert ... --to script
I\'m asking because I want to use
This seems to work:
Create a template strip_markdown.tpl
strip_markdown.tpl
## remove markdown cells {% extends 'python.tpl'%} {% block markdowncell -%} {% endblock markdowncell %}
jupyter nbconvert my_notebook.ipynb --to python --template=strip_markdown.tpl