mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-12-22 13:45:02 +00:00
Update MathJax CDN link
This commit is contained in:
parent
d00c6c1b9b
commit
c5dbe16222
2 changed files with 4 additions and 1 deletions
|
@ -5,6 +5,9 @@
|
|||
### Added
|
||||
- Added stacked bar to help you visualise what's taking up all the space in your wiki
|
||||
|
||||
### Changed
|
||||
- Updated MathJax CDN link, as cdn.mathjax.org is being retired ([source](https://www.mathjax.org/cdn-shutting-down/)).
|
||||
|
||||
### Fixed
|
||||
- Fixed error image generation in the image previewer under certain conditions.
|
||||
|
||||
|
|
2
core.php
2
core.php
|
@ -1238,7 +1238,7 @@ class page_renderer
|
|||
// Math rendering support
|
||||
if(!empty($settings->enable_math_rendering))
|
||||
{
|
||||
page_renderer::AddJSLink("https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML");
|
||||
page_renderer::AddJSLink("https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-MML-AM_CHTML");
|
||||
}
|
||||
// alt+enter suport in the search box
|
||||
page_renderer::AddJSSnippet('// Alt + Enter support in the top search box
|
||||
|
|
Loading…
Reference in a new issue