I figured something like this was the case, but let me add my support for adding abc to the core app. For what it's worth, my use case, and what led me to use Joplin to begin with, is that I collect and learn Irish, and other folk tunes. For a long time I would just do a screen shot of a bit of music to add to my collection. This way I could look up the music easily on my phone when I was playing at a session. This works fine, but images weigh a lot more than a few lines of abc code, but if I can't render that code on mobile, then my primary use case is defeated; alas.

I don't have the necessary expertise to be of much help, but from what I can tell, the abcjs library is compact and well thought out. Integrating it with the core joplin app ought to be straightforward. I'm mindful of the dangers of feature bloat, but, as you said, mermaid.

Thanks for a great tool,
Jon