dbankier / vscode-instant-markdown

vscode extension for instant markdown previews
53 stars 23 forks source link

[Feature Request] Allow debounce interval #45

Closed edongashi closed 6 years ago

edongashi commented 6 years ago

When editing markdown that includes math, the constant flashes of re-rendering look horrible. Can we please have a setting that allows specifying a debounce interval. For example "instantmarkdown.debounce": 500 would mean that only update preview after 500 milliseconds of no keystrokes. Thanks.

dbankier commented 6 years ago

done. new version being published now.

edongashi commented 6 years ago

Thank you!

I also played around with server-side rendering of math using markdown-it-katex, but it took some hacking to get it working. Might be viable in the future to eliminate flashes entirely.