Hacker News new | ask | show | jobs
by enriquto 1978 days ago
> we'll put all content in JSON, then put that JSON inside a comment in a plain text file

Only the "output" content. The code inside the cells is verbatim, and the markdwon cells are regular text comments.

See, I'm not discussing you just because. I have a legitimate problem with ipynb: very often I want to run the code of a notebook from the command line, or import it from another python program. This is quite cumbersome with the ipynb, but it would be trivial if it was a simple program with comments.