瀏覽代碼

Update MathJax CDN in cell and console examples

Jeremy Tuloup 5 年之前
父節點
當前提交
1f1313944e
共有 2 個文件被更改,包括 5 次插入5 次删除
  1. 2 2
      examples/cell/index.html
  2. 3 3
      examples/console/index.html

+ 2 - 2
examples/cell/index.html

@@ -2,11 +2,11 @@
 <html lang="en">
   <head>
     <title>Cell Demo</title>
-    <script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_CHTML-full,Safe&amp;delayStartupUntil=configured"></script>
+    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-AMS_CHTML-full,Safe&amp;delayStartupUntil=configured"></script>
   </head>
   <body>
     {% set page_config_full = {'baseUrl': base_url, 'token': token} %}
-      
+
     <script id="jupyter-config-data" type="application/json">
       {{ page_config_full | tojson }}
     </script>

+ 3 - 3
examples/console/index.html

@@ -2,15 +2,15 @@
 <html lang="en">
   <head>
     <title>Console Demo</title>
-    <script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_CHTML-full,Safe&amp;delayStartupUntil=configured"></script>
+    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-AMS_CHTML-full,Safe&amp;delayStartupUntil=configured"></script>
   </head>
   <body>
     {% set page_config_full = {'baseUrl': base_url, 'token': token} %}
-    
+
     <script id="jupyter-config-data" type="application/json">
       {{ page_config_full | tojson }}
     </script>
-  
+
     <script src="{{base_url | e}}example/bundle.js"></script>
 
     <script type="text/javascript">