Replies: 4 comments 9 replies
-
hmmm - I think this is probably a question for |
Beta Was this translation helpful? Give feedback.
-
Could it be because standard output has no mime types and therefore can't be |
Beta Was this translation helpful? Give feedback.
-
I really confused by this whole conversation lol. I think you are misunderstanding the role of jupytext. If you run
jupyter-book is essentially a more featureful/complex alternative to nbconvert, allowing for e.g. compilation and cross-linking of multiple notebooks into a single book. Again though it is really just intended for uni-directional use. If you want a format that shows both the inputs and output in a more easily edited format, I would actually suggest converting the ipynb (which is just a JSON file) to/from YAML. |
Beta Was this translation helpful? Give feedback.
-
Hi @fm75 , thanks for raising this. As @chrisjsewell explained above, all the Jupytext formats only store the input cells, not the outputs. The outputs can be recreated from the inputs, either by Jupyter Book, or explicitely by calling e.g. Note that if you are simply looking for a way to convert your |
Beta Was this translation helpful? Give feedback.
-
As part of a book I want to use cells like:
and see the output in the markdown generated from
Unfortunately, the output from such cells does not seem to get into the generated markdown.
I tried
with triple backticks around the content in a code cell. Is there something I can do to capture the content automatically? I don't want to have to copy/paste the output into a markdown cell, of course.
Beta Was this translation helpful? Give feedback.
All reactions