Hi Raniere,

On Tue, May 15, 2018 at 10:14 AM, Raniere Silva <[email protected]> wrote:
>
>> I'm fairly recent to this list, so I've probably missed it, but why not
>> Jupyter notebooks?
>
>
> 1. You can't edit Jupyter Notebooks on GitHub.
> 2. You can't diff Jupyter Notebooks on GitHub.
> 3. You can't have nest cells in Jupyter Notebooks (we need this for
exercises).
>
> I know that I mentioned GitHub twice but this is because this of
discussions with other people that want to lower the barrier to contribute
to the lessons and one way was to do things in the cloud instead of locally.


Actually, you can cleanly commit changes to Jupyter notebooks have
beautiful diffs using the nbstripout python package.
It's really cool; it modifies how gits interprets changes to the notebooks
and cleverly ignores output and line number changes and only stages
meaningful changes, all without editing the actual jupyter notebook you're
working on.

You can see an example of using it here; you have to run `make git-hooks`
to activate it:
https://github.com/omsai/intein_finder

And to publish the nodebook, one can use nbcovert (see the .travis.yml).

Can you elaborate a little on #3 about nesting cells?
I'm not getting this background for #3 looking at Belinda's original post.


>> Steve

> Raniere

Pariksheet
_______________________________________________
Discuss mailing list
[email protected]
http://lists.software-carpentry.org/listinfo/discuss

Reply via email to