Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.

Include a notebook from a remote location #77

Open
andreagrandi opened this issue Nov 30, 2017 · 2 comments
Open

Include a notebook from a remote location #77

andreagrandi opened this issue Nov 30, 2017 · 2 comments

Comments

@andreagrandi
Copy link
Collaborator

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

@danielfrg
Copy link
Owner

danielfrg commented Nov 30, 2017

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.

@andreagrandi
Copy link
Collaborator Author

@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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants