Another silly little rabbit hole I’ve gone down… The Lyrics plugin for SearchLink can now embed the JavaScript version of lyrics from Genius.com, complete with annotations.
The query is !lyricjs SEARCH STRING
. Running !lyricjs Blood in the Cut K.flay
will output this:
<div id='rg_embed_link_2835612' class='rg_embed_link' data-song-id='2835612'>
Read <a href='https://genius.com/Kflay-blood-in-the-cut-lyrics'>K.Flay – Blood in the Cut</a> on Genius
</div>
<script crossorigin src='//genius.com/songs/2835612/embed.js'></script>
Which will render on a live page as:
Note that the embed script uses a cross-origin request and won’t work in your local notes, but will work when published as HTML (to a blog or elsewhere).
The Lyrics plugin is included in the distribution, but also available in the Plugins repository for separate install and examination.