mathjax-rails icon indicating copy to clipboard operation
mathjax-rails copied to clipboard

Does this gem support server-side rendering?

Open prog1dev opened this issue 8 years ago • 1 comments

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.

prog1dev avatar Jun 02 '17 15:06 prog1dev

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.

olivervbk avatar Jun 27 '17 22:06 olivervbk