Is it possible to trigger a macro from within a Bear app markdown note?

I found something else interesting.

If you use the copy as markdown link macro in the library, you just have to copy as markdown link and paste directly into bear. You will end up with the same syntax as the one in your post.

You can even batch select multiple macro in KM → copy as markdown link → they will all be pasted in sequence

Copy as Markdown Link - Macro Library - Keyboard Maestro Discourse