Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

How to add config data #15

Open
JayAndBee opened this issue Aug 18, 2020 · 3 comments
Open

How to add config data #15

JayAndBee opened this issue Aug 18, 2020 · 3 comments

Comments

@JayAndBee
Copy link
Contributor

Hi,

great software, works really nice in my webapp. Just one thing: do you know how I can add some config options to the mathjax call? I would like to set CSS output options of the css class "MathJax_Display:" to "margin: 0em".

Best.

@davidshen84
Copy link
Owner

I don't think I have the MathJax configuration interface exposed. Can you please point me to the MathJax document for that configuration you need?

@JayAndBee
Copy link
Contributor Author

JayAndBee commented Aug 19, 2020

For my specific problem I have already found a workaround. However, to generalise, I think It'd be helpful if your config call just accepted a mathjax configuration object, as described in:
http://docs.mathjax.org/en/latest/options/index.html

That way all configuration options could be forwarded easily. The CSS class I would like to include is just a part of this object:
https://docs.mathjax.org/en/v2.7-latest/options/output-processors/HTML-CSS.html

@azamanaza
Copy link

@davidshen84
I created a separate issue here #19

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

No branches or pull requests

3 participants