Markdown Code Block Processor Fires on every character entry

Is there any way to tell when someone exits the Markdown Code Block? My processor seems to be firing constantly, with each character entry as the user types into the codeblock. I’d like to try to detect and update a render only when the codeblock is exited by the user.

I tried using a non code block markdown processor, but it seems this only fires on going to reading mode, and doesn’t fire at all in live preview mode when the codeblock is exited.

1 Like