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

Add lazy loading when displaying code blocks. #887

Open
small-lovely-cat opened this issue Nov 11, 2024 · 0 comments
Open

Add lazy loading when displaying code blocks. #887

small-lovely-cat opened this issue Nov 11, 2024 · 0 comments

Comments

@small-lovely-cat
Copy link

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.

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

1 participant