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

Rendering only after page refresh #18

Open
mametz opened this issue Oct 27, 2015 · 5 comments
Open

Rendering only after page refresh #18

mametz opened this issue Oct 27, 2015 · 5 comments

Comments

@mametz
Copy link

mametz commented Oct 27, 2015

The Mathjax code is rendered only after I refresh the page. What could be the issue?

@mametz
Copy link
Author

mametz commented Nov 26, 2015

An example of this beahviour can be seen here: http://drosophila.me/c62393ee6a96f1dfd1ebb72782515ae2

@mametz
Copy link
Author

mametz commented Dec 1, 2015

I've solved this by adding the following at the end of the file:

<script type="text/javascript">
if (window.MathJax) {
  MathJax.Hub.Queue(
    ["Typeset",MathJax.Hub]
  );
}
</script>

@iainbryson
Copy link

+1

@piga
Copy link

piga commented Sep 27, 2017

What does this script do? Please explain. Thanks

@piga
Copy link

piga commented Sep 27, 2017

OK, I found explanation on https://docs.mathjax.org/en/v1.0/typeset.html

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