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

Trouble displaying equations with MathJax #11

Closed
tobydriscoll opened this issue Jan 8, 2018 · 2 comments
Closed

Trouble displaying equations with MathJax #11

tobydriscoll opened this issue Jan 8, 2018 · 2 comments

Comments

@tobydriscoll
Copy link

The theme is great and I appreciate the work behind it. I'm trying to use it for some math lecture notes, and I found a bug with how MathJax displays equations. Here's a screenshot of the problem:

image

I've attached a minimal site that produces the result. It just has an include for the MathJax script header and a single MD page that produces a few equations. Should be able to serve it and view test.html to see the problem:

notes copy.zip

I'm 95% confident it's a bad CSS interaction; the MXJc-display enclosing element has zero height, which is not what I see on other MathJax content I've generated. But I'm out of my depth trying to pinpoint the problem.

@bluemurder
Copy link

Hello, I added mathjax support to my hydeout site and rendering seems ok. I added the link

<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>

You used:

<script src='https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/MathJax.js?config=TeX-MML-AM_CHTML'></script>

You can try blindly to use a mathjax configuration similar to mine. But I'm not sure if it can really help

@tobydriscoll
Copy link
Author

Thanks for trying. I found that by using mathjax-node as the kramdown engine, things look normal.

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

2 participants