Skip to content

Integration with Jupyter Notebooks (via mkdocs-jupyter plugin) possible? #257

Answered by pawamoy
thomasmarwitz asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @thomasmarwitz 🙂

That depends on how nbconvert works, how we can hook into it, or how much mkdocs-jupyter relies on it. Essentially, since mkdocs-jupyter is a MkDocs plugin, it definitely has access to the Python-Markdown Markdown instance created by MkDocs and used to convert Markdown to HTML. So it could use it to convert Markdown cells, and this md object would have the mkdocstrings extension (and by extension, no pun intended, the mkdocs-autorefs extension too) registered, so mkdocstrings instructions (:::) and autorefs cross-references ([title][object.path]) would work (as well as all other markup supported by extensions configured in mkdocs.yml). Maybe with a few limitations, …

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@thomasmarwitz
Comment options

@pawamoy
Comment options

@thomasmarwitz
Comment options

Answer selected by thomasmarwitz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants