Markdown field plugin by Fabian Michael: custom button

Hi, I’m a happy user of the Markdown Plugin from @fabianmichael but I didn’ understand how to implement a custom button. I looked ath the examples, but I wasn’t able to do it.
Is possibile to have a full snippet of code?

ok, I solved. All I had to do was writing my own custom plugin.