Upgrade to MathJax v4 (#15030)
GitOrigin-RevId: d1536bce67286da23e15aa18eb525dd83859978b
This commit is contained in:
@@ -168,7 +168,7 @@ export default async function (webRouter, privateApiRouter, publicApiRouter) {
|
||||
return chunks.map(chunk => staticFilesBase + chunk)
|
||||
}
|
||||
|
||||
res.locals.mathJaxPath = `/js/libs/mathjax-${PackageVersions.version.mathjax}/es5/tex-svg-full.js`
|
||||
res.locals.mathJaxPath = `/js/libs/mathjax-${PackageVersions.version.mathjax}/tex-svg.js`
|
||||
res.locals.dictionariesRoot = `/js/dictionaries/${PackageVersions.version.dictionaries}/`
|
||||
|
||||
res.locals.lib = PackageVersions.lib
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
const version = {
|
||||
mathjax: '3.2.2',
|
||||
mathjax: '4.1.2',
|
||||
dictionaries: '0.0.3',
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user