Integration with Jupyter Notebooks (via mkdocs-jupyter plugin) possible? #257
-
Cf. danielfrg/mkdocs-jupyter#236 Context: We use jupyter notebooks as means to document use cases. Sometimes, we wanna link to the API documentation.
The markdown cells are turned into HTML without mkdocs seeing or processing them. @pawamoy
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
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 |
Beta Was this translation helpful? Give feedback.
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 thismd
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, …