Hacker News new | past | comments | ask | show | jobs | submit login

Are you using MathJax to display the equations? Why do I not get the MathJax context menu when I right-click on the equations?



It's using Katex, which is smaller and faster: https://katex.org/


Yes, I'm using katex because I found the API easier to work with.


Are you rendering the LaTeX on server-side or on client-side using JavaScript? I am asking these questions because I find MathJax code in your website:

  <script type="text/plain" cookie-consent="strictly-necessary">
    window.MathJax = {
      tex: {
        inlineMath: [['$', '$'], ['\\(', '\\)']]
      },
      svg: {
        fontCache: 'global'
      }
    };
  </script>
  <script type="text/javascript" id="MathJax-script" async
    src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js">
  </script>


Actually, that code should be deleted. At one time, I was experimenting with MathJax but don't use it anymore.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: