Add lazy loading when displaying code blocks.
Opened this issue · 0 comments
small-lovely-cat commented
The current parsedown engine deals with the whole code block, processing it at once when the page loads. However, if the code blocks contains a large amount of lines, the page will freeze with "no response alert" by the browser.
Hope that a lazy loading machanism will be added, which deals with the current visible part (or a bit above or under) only, while load other parts when scrolled to.