Переглянути джерело

Update math.py

Always point to the latest MathJax
See https://www.mathjax.org/#gettingstarted for details.
Szabolcs Horvát 6 роки тому
батько
коміт
330d8e17e7
1 змінених файлів з 1 додано та 1 видалено
  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: