pelican-jupyter
pelican-jupyter copied to clipboard
Include a notebook from a remote location
Hi,
it would be very useful if the {% notebook path/from/content/dir/to/notebook.ipynb %} tag could include an .ipynb from an external location like {% notebook https://github.com/andreagrandi/ml-pima-notebook/blob/master/PimaIndiansDiabetes.ipynb %} so I could keep my project separate by the code.
Is it something already supported or that could be implemented in the future?
Cheers
Its not supported right not but it could be supported in the future. Are you interested in making a PR? It could be a simple addition, check if the path is an URL, download it and call the other functions that do the conversion.
@danielfrg hi! Thanks for your reply. I've never written or modified a Pelican plugin before, but I can always give it a try. Not next week but the one after I may have a few spare hours. In the mean time it's good to know that the feature doesn't exist yet and that I won't duplicate any existing code. Thanks!