mathjax-react icon indicating copy to clipboard operation
mathjax-react copied to clipboard

settings not working

Open Brees-T opened this issue 4 years ago • 2 comments

How are settings must be sent? I've already read MathJax documentation and tried to add setting this way

<MathComponent
                settings={{ "HTML-CSS": {preferredFont: "STIX"}}}
                tex={String.raw`Random\;formula`}
              />

And this way

<MathComponent
                settings={{ menuSettings: "" }}
                tex={String.raw`random\;formula`}
              />

But it doesn't seem to be working, all I get from console is

Options.ts:87 MathJax: Invalid option "0" (no default value).

Brees-T avatar Dec 27 '21 18:12 Brees-T

Can you let me know if this issue continues with version 2.0.0 of the package?

CharlieMcVicker avatar Jul 22 '22 22:07 CharlieMcVicker

i want to convert the latex to chtml insted of svg. how to pass the setting for this format ? please lemme know, Thanks in Advance :)

ajay311517104001 avatar Sep 26 '22 10:09 ajay311517104001