From what I understand here:http://blog.jupyter.org/2015/05/07/rendering-notebooks-on-github/ they don't use nbviewer for direct rendering on github, nbviewer can access to github with its API. I don't know if their notebook render is open or not. This feature would really improve our daily work and others academic users at least.
Any news on this?
Is it possible to add custom renderer on Rhodecode based on file extension? If yes could you point me to some Rhodecode API doc?
Indeed it would be nice to add custom renderers, for example for Jupyter Notebooks and also in our case it would be really nice also with Kicad files. In fact any non code/text file would be nicer.
I'm back on this feature, I'm too far from web technologies.
Reading the code isn't easy for me, I've no idea what does
But at least I can say that converting any ipynb file to an html
file is easy with nbconvert:
nbconvert --to html notebook.ipynb
This will produce a file called notebook.html, from what I
understand, displaying this file might be done in one iframe.
The few things I don't get:
does it require a lot of code to issue nbconvert command on
ipynb file and embed the result in the produced page?
jupyter project focus on Python 3 support now, and so nbconvert
might only be available for Python 3, is it a problem for
Is it possible to make this universal in somehow, allowing user
to set converters based on file extensions. For example one may be
able to add a converter for kicad PCB files with something like for
files matching "*.kicad_pcb" call "some_converter --with-args"