by Myrmornis · 11y ago · 0 comments
Looks like there's at least one project doing that. https://github.com/aaren/notedown
And there's the emacs-specific project https://github.com/tkf/emacs-ipython-notebook
[1] EDIT: I mean, not right now anyway. I've got a feeling that statement could seem a bit dated later in my life...
I tend to write prototype code in the notebook then copy/paste it into a package as I become satisfied that the code is correct.
It would be good to be able to transparently edit a .ipynb in a text editor - I've been meaning to wrap notedown in a vim plugin but haven't had time. This still leaves the version control problem though.
Note that I recently enabled the reverse (editing markdown in the browser as if it was a notebook), enabled by setting the following in ~/.ipython/profile_default/ipython_notebook_config.py (or similar):
c.NotebookApp.contents_manager_class = 'notedown.NotedownContentsManager'
This is useful for more interactive work, e.g. iterating on plots, whilst still having everything stored in markdown. See [1] for more info.