Skip to content

What is the minimal subset of MathJax that can do LaTeX to html conversion? #3376

@mwouts

Description

@mwouts

Hello,

I have been an indirect user of MathJax for a long time, essentially through Jupyter Notebook, so I would like to thank you for the library.

I am also the maintainer of a Python package that displays Python tables as interactive tables using Javascript. I wanted to add support for mathematical content in these tables, so I was looking to use MathJax as a converter. With the help of Copilot I been able to prepare PR mwouts/itables#397, and it works, but at this stage the bundle is way too big (it goes from 0.5MB to 2MB).

I was wondering if you could point me to a minimal example that achieves what I am looking for, that is, a function convertLateXtoHTML(text) that takes a string like "$1+1$" and returns the corresponding HTML maths.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions