Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

settings not working #26

Open
Brees-T opened this issue Dec 27, 2021 · 2 comments
Open

settings not working #26

Brees-T opened this issue Dec 27, 2021 · 2 comments

Comments

@Brees-T
Copy link

Brees-T commented Dec 27, 2021

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).

@CharlieMcVicker
Copy link
Owner

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

@ajay311517104001
Copy link

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants