That line points to:
https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse-markdown-it/src/engine.js#L40
The plugin likely needs to be updated to properly hook the discourse-markdown-it.
discourse-markdown-it