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

Make MathJax-URL configurable

Open dr-br opened this issue 2 months ago • 3 comments

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!

dr-br avatar May 03 '24 15:05 dr-br