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

Don't block the editor when rerendering #144

Open
i-am-the-slime opened this issue Jul 10, 2024 · 1 comment
Open

Don't block the editor when rerendering #144

i-am-the-slime opened this issue Jul 10, 2024 · 1 comment

Comments

@i-am-the-slime
Copy link

Somehow this works much better in obsidian. In VSCode when the preview updates I can't type anything in the editor which is quite frustrating, couldn't the compilation happen asynchronously, either cancellable when the user starts typing again or work on a copy of the file at the time of generating the preview?

@BarryNolte
Copy link
Collaborator

I can't reproduce this, and the process is asynchronous. If you want to delay the automatic update, you can change the option:
D2.updateTimer to a larger value. Or turn off automatic updates with option: D2.autoUpdate.

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

2 participants