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

Mathjax support #34

Closed
zealscott opened this issue Dec 13, 2019 · 2 comments
Closed

Mathjax support #34

zealscott opened this issue Dec 13, 2019 · 2 comments

Comments

@zealscott
Copy link

zealscott commented Dec 13, 2019

Thanks for the clean and elegent theme, I really love it.

I am planning to transfer from hexo to hugo, and my blog contains many LaTex equations. It is really annoy to add \ for every equations, and the LaTex cannot display correctly with extra \ mark in my local editor Typora, too.

In Mathjax, only add <div><\div> to the equation without modify the origin codes, and the equations can display correctly. I have tested it in this theme, it works. However, in KATEX engine, it does not work.

So I am wondering whether add the Mathjax support in this theme, or there are other options?

Thanks & best regrads,

Scott

@reuixiy
Copy link
Owner

reuixiy commented Dec 14, 2019

Hi @Scottdyt,

I just submitted a commit to support MathJax, and it’s brand new version 3.0 of MathJax!

Please update MemE to the latest version and refer to this commit to modify your config.toml file.

Try it out!

@zealscott
Copy link
Author

You save my day! thanks a lot!

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

No branches or pull requests

2 participants