Hello,Has anyone told me how you are currently using jupyter notebooks in Leo? Jupyter notebooks are usually long(example: https://github.com/pycaret/pycaret/blob/master/tutorials/Tutorial%20-%20Regression.ipynb), but they are sometimes segmented by md file's header tags, which feels like a good use case for Leo. But I found that both @auto or @clean just imported the notebook into a long JSON file. Am I doing something wrong?
You might try using leoInteg in vscode. vscode probably has pretty good support for Jupyter notebooks.
You might try using leoInteg in vscode. vscode probably has pretty good support for Jupyter notebooks.Thanks for your advice, Edward
There used to be some support for Jupyter notebooks, but over time it became clear that it didn't work well. You could read them but not interact or modify them effectively. Since you can read them better in a browser, the support was removed.
Ok, it seems jupytext is the right choice. It can pair notebook with python file. I just use Leo to handle the python files :-D Great!
It occurs to me that it should be fairly easy to create a Leo plugin that would display an .ipynb file.
I'm not sure if this one is of much use, don't get me wrong, Thomas, I just want you to maintain a little less code.
For me, the common way to use a notebook is mainly to change the code, run, and then view the result, for simple viewing, there are many ways, like opening it with vscode.