dccsillag / magma-nvim

Interact with Jupyter from NeoVim.
GNU General Public License v3.0
988 stars 50 forks source link

[Feature Request] Integration with jupytext #61

Open serhez opened 1 year ago

serhez commented 1 year ago

I have been reading #19 and perhaps a solution to that issue could be enough to make this integration happen.

Currently, in order to have a good notebook experience on neovim, you need two things: (1) a front-end translator which converts raw .ipynb files to a python/markdown file (example: jupytext), and (2) a back-end which interacts with jupyter to provide the runtime functionality (example: magma). At the moment, there is no integration between the two, so if I'm using jupytext magma does not recognise its cell format, for example.

Can something be done on this front to achieve a good notebook experience overall?

Thanks! Love the plugin!

meatballs commented 1 year ago

You might be interested in my plugin: https://github.com/meatballs/notebook.nvim

That handles parsing and writing of ipynb files and there are some functions in the readme for integration with magma.