danielfrg / pelican-jupyter

Pelican plugin for blogging with Jupyter/IPython Notebooks
Apache License 2.0
422 stars 105 forks source link

convert notebook links to html links #93

Open yn-coder opened 6 years ago

yn-coder commented 6 years ago

If notebook contain the links to another notebook (with Link to [Math](09_Math.ipynb)), plugin doesn't convert it to <a href="09_Math.html">Math</a>.

Could it be done?

danielfrg commented 6 years ago

Should be possible.

The link would have to be to a notebook that is also a post in pelican. Basically the ipynb would need to have the metadata so pelican converts it to a post.

I bet that it works if you use the liquid tag method since its a regular markdown link that i know works. In the notebook add a link like this (thats how pelican generates links to other notebooks):

[link]({filename}./notebook-example.md)

Let me know if it works.