alternative to add mathjax

  • Here’s an alternative to loading mathjax for showing mathematical equations. Pulled from TeXt theme github repo but I haven’t test it
    	
      <script type="text/x-mathjax-config">
          var _config = { tex2jax: {
              inlineMath: [ ['$','$'], ['\\(','\\)'] ]
          }};
    		
          {%- if _mathjax_autoNumber == true -%}
              _config.TeX = { equationNumbers: { autoNumber: "all" } };
          {%- endif -%}
    		
          MathJax.Hub.Config(_config);
      </script>
      <script type="text/javascript" src="{{ _sources.mathjax }}" async></script>
    	
    

References

Metadata

  • topic:: 00 Coding00 Coding
    #MOC / for programming language, coding guide and libraries focusing on data analytics and html/css
    • related:: mathjax in github Private or Broken Links
      The page you're looking for is either not available or private!
  • updated:: 2022-08-12 Private or Broken Links
    The page you're looking for is either not available or private!
  • reviewed:: 2022-08-12 Private or Broken Links
    The page you're looking for is either not available or private!
  • #FleetingNote