Add CodeMirror "Copy to clipboard" feature

As the title says: I use inline code references quite often, but a pain point is having to click inside the ticks to copy out the command. It looks like CodeMirror can support the copy to clipboard feature, and I think it would be a huge plus to add it to Logseq. Thoughts? Could there be any complications by adding this? Other than maybe some CSS tweaks to add the copy button, I can’t really think of any.