The submitted post will be cooked again in the server, so in order for the modification to work, you will need a plugin, not a theme-component.
This post here covers this topic: Repackaging a markdown.it extension as a Discourse plugin
The submitted post will be cooked again in the server, so in order for the modification to work, you will need a plugin, not a theme-component.
This post here covers this topic: Repackaging a markdown.it extension as a Discourse plugin