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

pre-rendering mathjax content #14

Open
deepakverma4 opened this issue Sep 21, 2018 · 6 comments
Open

pre-rendering mathjax content #14

deepakverma4 opened this issue Sep 21, 2018 · 6 comments

Comments

@deepakverma4
Copy link

is there any way to pre-render the data with mathjax, so that user won't see the loading of mathjax content?

@calvinkei
Copy link
Owner

please update to 2.0.0 to check if the issue persist

@deepakverma4
Copy link
Author

@calvinkei yes the new version is faster. But my issue is to load all the content before displaying them to the user.

current scenario is that if user's internet connecting goes away he may see old latex data. or if the user's internet connection is slow he may have to see that conversion of latex to mathjax equation.

can't we pre-fetch all the equations before displaying them to the user?

@calvinkei
Copy link
Owner

calvinkei commented Sep 25, 2018

updated at 44850fc, please check if it fits your need and I will publish it to 2.0.1 once you confirmed it is solved

it basically hides the content before mathjax is loaded

if the pain point is on internet connection, I am working on the offline version that #6 suggests, which will take long as I don't have much time maintaining this module now (PRs are appreciated!)

@deepakverma4
Copy link
Author

i think this hide content until loading complete was available in previous version also.
yes my pain point is on internet connection.
i'll try to put mathjax scripts in ./assets folder . Let's see if it helps or not.

@truongluuxuan
Copy link

@dverma4u where ./assets in ios?

@shivam0831
Copy link

any solution?

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

4 participants