Help for registering markdown-it plugin as Joplin plugin

Hello, I would really like to use some form of arrows for my notes. In another thread someone mentioned markdown-it-smartarrows, and this would be exactly what I was looking for. I found this template for markdown-it plugins, and this Joplin API reference about registering an existing markdown-it plugin. But now I am not quite sure how to proceed from here, could someone give me a few tips?