4 ms·
There is also another tool called `pynb` (by the same author) that can be used to achieve human-readable format. The logic is a bit different there, since it ge
by ivan_ah 8y ago
There is also another tool called `pynb` (by the same author) that can be used to achieve human-readable format. The logic is a bit different there, since it generates a .py script file with markdown cells appearing as Python comments.
example diff: https://github.com/minireference/noBSLAnotebooks/commit/9005d37d06d9bdaca53806214b70ca81ea0a2007 https://github.com/minireference/noBSLAnotebooks/commit/9005...
script: https://github.com/minireference/noBSLAnotebooks/blob/master/util/makepynb.sh https://github.com/minireference/noBSLAnotebooks/blob/master...
pre-commit hook: https://github.com/minireference/noBSLAnotebooks/blob/master/util/pre-commit-hook.sh https://github.com/minireference/noBSLAnotebooks/blob/master...
- micheda 8y agoHi Ivan, author here. Happy to read that pynb is useful! it can be used in a similar way (I used it also this way until I required support also for Zeppelin), however, it's limited to Jupyter and there's no Markdown support as you already pointed out.