Userspace cell editor for keeping notebooks editable after export

I would quite like my notebooks to remain editable after exporting them. Its actually possible, and I did it!

Its sorta limited compared to the proper editor, but it does have a special few tricks. You can edit the code of dependancies, and this is actually really useful for inserting debugger expressions, it works really well because the cells rerun after modification so debugger expressions are immediately triggered. So good for debugging I actually use it for that a lot now.

Works well with the single file exporter too, which persists the changes. A huge drawback is you cannot change the order of cellsā€¦ but I will get to thatā€¦ also you canā€™t import the changes back into Observable, though we can add that with copy-and-paste hacking. Single file exports work offline, so in theory you can use this to hack notebook while travelling, but at this point it missing too many features. Suggestions welcome!

2 Likes