diff --git a/CHANGELOG.md b/CHANGELOG.md index 1fccc1fd84..bf4b4c3b5d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased +* ![Enhancement][badge-enhancement] MathJax 3 has been updated to `v3.2.0` (minor version bump). ([#1743][github-1743]) + ## Version `v0.27.10` * ![Bugfix][badge-bugfix] Fix depth of headers in LaTeXWriter. ([#1716][github-1716]) @@ -944,6 +946,7 @@ [github-1706]: https://github.com/JuliaDocs/Documenter.jl/pull/1706 [github-1709]: https://github.com/JuliaDocs/Documenter.jl/pull/1709 [github-1716]: https://github.com/JuliaDocs/Documenter.jl/pull/1716 +[github-1743]: https://github.com/JuliaDocs/Documenter.jl/pull/1743 [julia-38079]: https://github.com/JuliaLang/julia/issues/38079 [julia-39841]: https://github.com/JuliaLang/julia/pull/39841 diff --git a/src/Writers/HTMLWriter.jl b/src/Writers/HTMLWriter.jl index 2956cccd2d..0b2993bbec 100644 --- a/src/Writers/HTMLWriter.jl +++ b/src/Writers/HTMLWriter.jl @@ -615,7 +615,7 @@ module RD )) end function mathengine!(r::RequireJS, engine::MathJax3) - url = isempty(engine.url) ? "https://cdnjs.cloudflare.com/ajax/libs/mathjax/3.1.4/es5/tex-svg.js" : engine.url + url = isempty(engine.url) ? "https://cdnjs.cloudflare.com/ajax/libs/mathjax/3.2.0/es5/tex-svg.js" : engine.url push!(r, Snippet([], [], """ window.MathJax = $(json_jsescape(engine.config, 2));