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

convert notebook links to html links #93

Open
yn-coder opened this issue Jul 7, 2018 · 1 comment
Open

convert notebook links to html links #93

yn-coder opened this issue Jul 7, 2018 · 1 comment

Comments

@yn-coder
Copy link

yn-coder commented Jul 7, 2018

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
Copy link
Owner

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.

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