A mod of Hasher.
I changed its MD5 command slightly for my own purpose.
text --> <data-ref-name="id-md5">text</tex>
Type cmd-shift-p
to launch command palette and choose Extensions: Install Extension
. Search hasher and install.
Type cmd-shift-p
to launch command palette, type hasher then pick the hasher command you want to use.
Almost all of this is Hasher.
MIT