MaelImhof / obsidian-jupyter

Edit .ipynb Jupyter files directly in Obsidian.
https://jupyter.mael.im/
12 stars 1 forks source link

Automatically update Jupyter Notebook configuration #11

Closed MaelImhof closed 2 months ago

MaelImhof commented 2 months ago

As stated in #10, Jupyter Notebook needs to be configured specifically to accept being included in iFrames and webviews. After verifying this is the way to do it (so that it does not bring any security problems), the plugin could do it by itself. It could detect the path of the Jupyter Notebook configuration using a command and, with the user's permission, update it accordingly.

It could also detect automatically that the configuration does not include the necessary lines and warn the user that the plugin won't work.

MaelImhof commented 2 months ago

Apparently you do NOT need this configuration, Jupyter is working fine without it, so I still don't know what made it work all of a sudden, but anyway this task is not relevant anymore, probably same for #10.