Hi, On Wednesday, 1 January 2020 13:32:11 UTC+1, Moritz Beber wrote: > > This is somewhat related to issue > https://github.com/sphinx-doc/sphinx/issues/5497. I have a plotly figure > that includes some math and only renders correctly when MathJax is present. > You can see what I mean in this nbsphinx issue ( > https://github.com/spatialaudio/nbsphinx/issues/369). This is not > detected by Sphinx and thus MathJax is not automatically included. > > So I'm wondering if there is a way for me to force the inclusion of > MathJax or, alternatively, for Sphinx to detect math in plotly objects? >
Add 'sphinx.ext.mathjax' to the extensions listed in conf.py, like extensions = [ 'sphinx.ext.mathjax' ] HTH, Stefano -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to sphinx-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sphinx-users/a93d58ee-f390-48fe-ba4e-1d3f66833f84%40googlegroups.com.