Weave.jl icon indicating copy to clipboard operation
Weave.jl copied to clipboard

Plotly breaks MathJax in HTML outputs

Open atx opened this issue 6 years ago • 0 comments

Using Plot.ly plots and MathJax at the same time leads to MathJax not being rendered. See this plot.ly issue for reference. Can be fixed by adding

```julia; echo=false; results="html"
println("<script>window.PlotlyConfig = {MathJaxConfig: 'local'}</script>")
``` `

Somewhere at the start of the document.

Not sure if it's a good idea to just hard code this to the template or have some smarter logic.

atx avatar Feb 27 '20 18:02 atx