You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to render a large Markdown file in my application. The rendering is very slow, and the screen is blank for a long time. I have observed that the parsing of the text to prosemirror nodes is quite fast. However, the rendering to HTML is slow, and the nodes are finally added to the DOM together.
I would like to know why this is happening. Is it possible to render the Markdown directly to the browser, processing it from top to bottom step by step, and displaying a limited part to the user?
Specific questions:
What is the reason for the slow rendering of Markdown to HTML?
Is it possible to render Markdown directly to the browser?
If so, how can I do it?
How can I limit the rendering to a specific part of the Markdown file?
Additional information:
I am using prosemirror to parse and render the Markdown.
The Markdown file is about 640,000 characters in size.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying to render a large Markdown file in my application. The rendering is very slow, and the screen is blank for a long time. I have observed that the parsing of the text to prosemirror nodes is quite fast. However, the rendering to HTML is slow, and the nodes are finally added to the DOM together.
I would like to know why this is happening. Is it possible to render the Markdown directly to the browser, processing it from top to bottom step by step, and displaying a limited part to the user?
Specific questions:
What is the reason for the slow rendering of Markdown to HTML?
Is it possible to render Markdown directly to the browser?
If so, how can I do it?
How can I limit the rendering to a specific part of the Markdown file?
Additional information:
I am using prosemirror to parse and render the Markdown.
The Markdown file is about 640,000 characters in size.
Beta Was this translation helpful? Give feedback.
All reactions