Browse Source

Update math.py

Always point to the latest MathJax
See https://www.mathjax.org/#gettingstarted for details.
Szabolcs Horvát 6 years ago
parent
commit
330d8e17e7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      render_math/math.py

+ 1 - 1
render_math/math.py

@@ -78,7 +78,7 @@ def process_settings(pelicanobj):
     mathjax_settings['message_style'] = 'normal'  # This value controls the verbosity of the messages in the lower left-hand corner. Set it to "none" to eliminate all messages
 
     # Source for MathJax
-    mathjax_settings['source'] = "'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.3/MathJax.js?config=TeX-AMS-MML_HTMLorMML'"
+    mathjax_settings['source'] = "'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.3/latest.js?config=TeX-AMS-MML_HTMLorMML'"
 
     # Get the user specified settings
     try: