0

乳胶在整个项目中都不起作用,在这个页面中,我也包含了所有关于乳胶所需的脚本

  <script>
      window.MathJax = {
          jax: ["input/MathML/TeX","output/HTML-CSS","output/NativeMML"],
          extensions: ["mml2jax.js","MathMenu.js","MathZoom.js","tex2math.js"],
          MathML: { extensions: ["mml3.js"]}

      };
    (function(d, script) {
          script = d.createElement('script');
          script.type = 'text/javascript';
          script.async = true;
          script.onload = function(){
              // remote script has loaded
          };
         script.src = 'https://cdn.rawgit.com/mathjax/MathJax/2.7.1/MathJax.js';
          d.getElementsByTagName('head')[0].appendChild(script);
      }(document));
      if (window.MathJax === undefined ||  window.MathJax == null){
      window.MathJax =
       {
          jax: ["input/MathML","output/HTML-CSS","output/NativeMML"],
          extensions: ["mml2jax.js","MathMenu.js","MathZoom.js"],
          MathML: { extensions: ["mml3.js"]}
      };
      }
    </script>
    <script type="text/x-mathjax-config" rel="prefetch" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js ">
      MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}});
    </script>
    <script type="text/javascript" async
   src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-AMS-MML_HTMLorMML&delayStartupUntil=configured">
</script>

所有的事情都只在后端(使用python)完成。

4

0 回答 0