Bug Description
Description
When pasting an invalid text into an editor (VSCode) no text is inserted only spinning wheel shown. When extension is disabled - everything is fine.
I've attached GPT generated text file where I've borrowed this wonderful text
invalid_markdown.md
Steps to Reproduce
- Copy invalid text into an md document
- Observe no text is inserted
Expected Behavior
- no delay on text copy-pasting
Actual Behavior
no text is inserted only spinning wheel shown
Environment
Sample Input
#InvalidHeading42
## Duplicate Heading
## Duplicate Heading
Heading setext style but broken
---=
>NoSpaceBlockquote42
*Unclosed emphasis line 42
**Mismatched bold* 42
Backtick `unclosed code span 42
[Broken link text 42](not a url)
[ref style link 42][missing-ref-42]
Image with empty alt 

<div class=test><span><em>Unclosed HTML 42
Configuration File
default
Additional Context
No response
Code of Conduct
Bug Description
Description
When pasting an invalid text into an editor (VSCode) no text is inserted only spinning wheel shown. When extension is disabled - everything is fine.
I've attached GPT generated text file where I've borrowed this wonderful text
invalid_markdown.md
Steps to Reproduce
Expected Behavior
Actual Behavior
no text is inserted only spinning wheel shown
Environment
Sample Input
Configuration File
default
Additional Context
No response
Code of Conduct