Congratulations on this success! I am about to try it out now. Thanks for sharing!
In terms of aliases for mermaid links, I actually made this request a while back: Mermaid Links with Use of Aliases or Custom Link Previews
My apologies if it came off as if you needed any suggestion of which route to go. I only shared my interest in the list option, in terms of the folding capabilities, in case it might trigger some inspiration as to how such functionality might be accomplished.
I admire your curiosity, and surely appreciate the fruits of your dedication.
Edit: Wow! Just tested it and, of course, it works!