Rehypre-pretty-code - built-in copy button
shiki copy button within pre code tag
Rehype-pretty-code includes a built-in copy 'button' plugin, but it run into following issues with Next.js 14.
Github issue - Error: Expected onClick
listener to be a function, instead got a value of string
type.
Rehype-pretty : Copy button
copy-button.ts