Need help ignoring shiki highlight hints in a copy button
In Nuxt content, you can use Shiki to highlight code blocks, and you can highlight these blocks with nice inlay hints, for example, if I have some javascript code, for example:
const a = 1 + 2;console.log(a);
const a = 1 + 2;console.log(a);
and I wanted to highlight the console.log line, I can do this:
const a = 1 + 2;console.log(a) // [!code hl]
const a = 1 + 2;console.log(a) // [!code hl]
but if I make a ProseCode component, and add a copy button that uses vue use to copy the string passed through the "code" prop, I get the inlay hint in the copied code. How can I avoid getting the inlay hints without either using regex or ignoring all coments?