Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
ipynb listings #1900
In fact I think it would be nice to have something like:
I mean, some way to read the content from cell 2 to 5 and show that but rendered correctly (as nbconverted html snippet...
Not to much frequently...
What do you mean with strange?
If anyone can describe how this feature would work, I'm happy to take a shot at it.
One problem is that the listings directive has no way to support this, so it will make things more complicated.
Another is that it should be, if it is to be implemented, a reasonably complete thing that provides support for arbitrary renderers, which means it has huge feature overlap with stories. In fact, it looks like "stories organized by folder hierarchy" which is sort of easy?
I actually looked into this now and an implementation in the “full” listings is really simple, will have a PR ready in a moment.
As for the directive, would that be useful? If yes, I think it could be implemented with a simple
Implementing “listings = stories with folders” could be problematic. You see, the current idea takes ipynb only, because it’s very unlikely someone would actually want to display the raw JSON files (and if they do, they can just change the extension and also get JSON code highlighting), and displaying notebooks sounds like something a scientist might want to do. But, we could get a web developer who wants to showcase some