My markdown extension works in preview but not on cooked

Thank you for the reply Rafael.

The plugin’s code is here:

As you can see it is very simple. I am using ES Module imports, but only for adding a button to the editing bar. The Markdown extension (Files · master · Text Blaze / Discourse Snippets · GitLab) doesn’t import anything.