Open glemaitre opened 2 weeks ago
hello Guillaume! Thank you for this feedback and idea! I've added your feedback in our notion where we centralize feedbacks from github, discord, and collected by any other medium. We will review it and prioritize according to our vision.
I like the idea because it allows integration in existing notebooks (e.g. your rationale). Yet, it is something that can be misleading because it's not something that can be used in python script.
I will leave this issue open to allow for discussions.
I'm wondering if there is a plan to create a set of magic functions that could be used in a notebook cell to store the items.
Basically, instead of having something like:
I would have
with the expectation that the output of the cell is what will be rendered. Similarly for a markdown cell:
Under the hood, I can imagine that
%put
can just pass toMediaItem.factory
with a conversion from markdown to HTML. The nice part is that the notebook is already giving you the info that this is the a markdown cell.The rational behind this question is that if I am a data scientist that want to quickly create a report, I can just add
%put
in the cells that I am interested to export and get already a report without the need to clean all my notebook.