Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

133
Visualizações
MathJax config is not taking ## as inline Math delimiter

I am using the latest MathJax library, which is v 3.2. I have the following code in head part of my webpage. Yet when I use ## as delimiter for inline Math config, it actually creates a link as shown in screenshot (look at the blue part that says #x), If I add a space after the second # as in ## x ## then it works, but I shouldn't have to do that.

I am missing something here. I tried preceding the delimiters with a backslash in the config JavaScript as in \#\# but it didn't work.

Question: What changes I need in my JavaScript below to make the delimiter ## work for inline math with latest MathJax? Or maybe nothing can be done here since the rich text editor for making this entry is behaving in this manner. In that case, I'll have to add a space after the initial delimiter ## and there's no way to prevent this problem.

<script type="text/javascript">
       window.MathJax = {
          tex: {
            inlineMath: [['##', '##'], ['\\(', '\\)']]
         }
      };
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/3.2.0/es5/tex-chtml-full.js"
 integrity="sha512-H1celT3zndvCGQ6MQhHhhbHobnAcJIr0F/hWbLQHOPJNb5psixpjP3KFLfL5MUCGjReje/+DFo+ByaB9OtxmdQ=="
 crossorigin="anonymous" referrerpolicy="no-referrer"></script>

UPDATE 1: I even tried using html code for the hash character #, but it didn't work. I tried by replacing '##' in above Javascript with '&num;&num' and also '&#35;&#35' or '&#x23;&#x23;', but none of them worked.

Delimiter Problem in Mathjax for ##

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda