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

Does this gem support server-side rendering? #24

Open
prog1dev opened this issue Jun 2, 2017 · 1 comment
Open

Does this gem support server-side rendering? #24

prog1dev opened this issue Jun 2, 2017 · 1 comment

Comments

@prog1dev
Copy link

prog1dev commented Jun 2, 2017

There is a gap before MathJax comes into play. So user sees initial TeX string before MathJax starts to render TeX into something beautiful. For now I just hide elements with visibility: hidden that might contain TeX but this feels like a hack and not user-friendly.

@olivervbk
Copy link

As far as I know, it is possible to render TeX with Mathjax server-side, just not with this gem (needs to be run in server side JS)
Checkout:
https://github.com/mathjax/MathJax-docs/wiki/Mathjax-server-side

You could always try to save the already rendered HTML/whatever and display that.

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