-
Notifications
You must be signed in to change notification settings - Fork 37
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
ipub.ignore is only honoured for slide output #119
Comments
@phelps-sg this should be handled in the jinja template, and should not require a pre-processor (as you have done in #120 ).
and
Processing any input / output cells with |
This is happening all publishing formats apart from slides. I have added test-cases in #120 which should illustrate the problem. |
No problem, I’ll add the test cases and see why the jinja templates are failing to do their job 😬 |
PS - The slides_from_markdown preprocessor sets |
Bug Report
Describe the bug
The documentation seems to imply that the ipub.ignore cell metadata applies for all formats, but in fact it is only used by slides_from_markdown preprocessor.
To Reproduce
Mark a cell to be ignored in a notebook, and publish it to a non-slide format, e.g. latex.
Expected Behaviour
The converted notebook should not contain any slides whose metadata has ipub.ignore=true.
Runtime Information
(please complete the following information)
IPyPublish: [e.g. 0.10.10]
Python: [e.g. 3.7.3]
OS: [e.g. Linux Mint 18.03]
Pandoc: [ 2.7.3]
(optional for pdf issues) texlive: [run
tex
](optional for pdf issues) latexmk: [run
latexmk --version
]The text was updated successfully, but these errors were encountered: