danielfrg / mkdocs-jupyter

Use Jupyter Notebook in mkdocs
https://mkdocs-jupyter.danielfrg.com
Apache License 2.0
362 stars 45 forks source link

Make MathJax-URL configurable #199

Closed dr-br closed 5 days ago

dr-br commented 2 months ago

Hi, I want to use mkdocs-jupyter with locally hosted MathJax (mkdocs-material +privacy plugin). Unfortunately, nbconvert implicitly sets mathjax_url. In the template, which is part of mkdocs-jupyter (mkdocs_html → {{ mathjax(resources.mathjax_url) }}) this URL is used as well. When html.py is invoked, the URL is set implicitly.

Would it be possible, to configure a custom mathjax_url? Most conveniently in the mkdocs.yml.

Thanks in advance!

danielfrg commented 2 months ago

should be possible, are you interested in making a PR for that?

dr-br commented 2 months ago

it will take some time (I'm a user, not a dev)...

dr-br commented 1 month ago

are you interested in making a PR for that?

I created my very first PR to a public project :sweat_smile:

danielfrg commented 5 days ago

Fixed on your PR.