pelican-jupyter icon indicating copy to clipboard operation
pelican-jupyter copied to clipboard

convert notebook links to html links

Open yn-coder opened this issue 7 years ago • 1 comments
trafficstars

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?

yn-coder avatar Jul 07 '18 22:07 yn-coder

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.

danielfrg avatar Jul 08 '18 02:07 danielfrg