MathML - support mml3

mm 40 Reputation points
2025-05-19T10:18:03.7+00:00

Is there a way to enable support for the mml3 extension? As far as I know, you are using MathJax for MathML rendering and there is easy option to support it. Without enabling this option, displaying MathML properly is not feasible in many cases.

Best regards,

Martin

Community Center Not monitored
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sina Salam 22,031 Reputation points Volunteer Moderator
    2025-05-19T13:54:45.1066667+00:00

    Hello mm,

    Welcome to the Microsoft Q&A and thank you for posting your questions here.

    I understand that you would like to know if MathML support MML3 and as regarding your questions.

    Can I enable mml3 in ChatGPT?

    No. MathJax is not configurable in this interface.

    Is MathML fully supported in ChatGPT?

    Only limited support; LaTeX is preferred.

    Can I test mml3 elsewhere?

    Yes, using your own HTML+MathJax setup.

    Is there a workaround in ChatGPT?

    No native workaround; fallback to LaTeX or external render.

    Therefore, if you require accurate rendering of complex MathML (e.g., tooltips or semantic content), the best approach is to build your own test environment. You can do this by creating a simple HTML page that loads MathJax with the mml3 extension enabled. This is just a working example below:

    <!DOCTYPE html>
    <html>
    <head>
      <meta charset="UTF-8">
      <title>MathML with mml3</title>
      <script>
        MathJax = {
          loader: {
            load: ['input/mml', 'output/chtml', 'mml3']
          }
        };
      </script>
      <script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/startup.js"></script>
    </head>
    <body>
      <math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
        <maction actiontype="tooltip">
          <mrow><mi>x</mi></mrow>
          <mtext>This is x</mtext>
        </maction>
      </math>
    </body>
    </html>
    

    You can open this in any modern browser like Chrome or Firefox to verify full MathML rendering with mml3. For environments where you can't enable JavaScript (like ChatGPT), an alternative is to render your equations externally and import them as images or SVGs.

    Therefore, since ChatGPT does not currently support MathJax extension customization, the most accurate setup is:

    I hope this is helpful! Do not hesitate to let me know if you have any other questions or clarifications.


    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.