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
[Proposal] Partial rendering #47
Comments
Just like I mentioned in #42 , also I provided another solution there. |
@schickling @vanabel I just commited a new "partial rendering" extension that renders only modified sections (delimited by titles). Can you give me your feedback? |
Tested it a little for now and seems to work as I imagined. Great work again! 👍 |
By the way you can compare the rendering time by using this UserCustom extension:
You should see logs in the JavaScript console. |
Actually this one is more interesting:
It gives you:
|
I'll try it these days! |
Can't even render if you have create a new document, and type anything in it. |
It works for mathjax render, which will render at each section of |
@vanabel Do you have any error logs in the JavaScript console that I can investigate? Can you try:
|
It's normal after I delete the cookies, but you didn't tell me that will empty all my settings, including the document selector... |
Normally, you can delete application cache (which contains StackEdit's pages) and/or local storage (which contains StackEdit's markdown documents). You probably deleted both of them. |
The can't render initially problem still exists! |
Does it appear on all your documents or only on a specific one? If so, please provide an example. Can you check if you have errors in the JavaScript console? |
Same here if I create a new document and start to edit. |
For every new doc, it can't render initially. The JS console:
|
I just reproduced the problem. It happens when document is empty. It should be fixed now. |
I can confirm that 👍 |
When working on big documents (with MathJax) and having lazy rendering disabled it happens that the rendering becomes kinda slow. (I know you might be arguing that I should enable lazy rendering, but the rendering process is the same).
My idea to speed up and improve this situation you could try to render just parts of the document. How you split up the document would be the biggest problem imo. Suppose you have split up the document in four parts and you currently edit the second part (realtime collaboration needs special treatment) just the second part of the document should be refreshed.
I think that could drastically speed up the document rendering while working on the document. I'd like to hear your thoughts on that.
PS: This "issue" is just an improvement idea, nothing what has to be done immediately. 🐹
The text was updated successfully, but these errors were encountered: