Skip to content
Snippets Groups Projects
Commit 79b38913 authored by smmercuri's avatar smmercuri
Browse files

Add cdnjs MathJax2 URL function

parent 6ae29d3a
Branches
Tags
No related merge requests found
......@@ -193,6 +193,10 @@ function stack_get_mathjax_url(): string {
return 'https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML';
}
function stack_get_mathjax2_url_cdnjs() {
return 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML';
}
/*
* Gets the url for MathJax 3.
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment