MyST-NB icon indicating copy to clipboard operation
MyST-NB copied to clipboard

Download Ipynb does not exclude excluded input/output

Open sebastianjanisch opened this issue 6 months ago • 0 comments

Describe the bug

context When I use the download .ipynb functionality.

expectation I expected any cells marked as remove-output/remove-input to be excluded from the downloaded notebook.

bug But instead all cells are part of the downloaded notebook.

problem This is a problem for us because we have some integration context specific cells that are necessary to run the notebook, but should not be part of the published content.

Reproduce the bug

  1. Create notebook with cells tagged as remove-output and remove-input.
  2. Build the docs
  3. click Download .ipynb
  4. verify those cells have not beed removed

List your environment

myst-nb version 1.1.2

sebastianjanisch avatar Jul 07 '25 17:07 sebastianjanisch