open-payments icon indicating copy to clipboard operation
open-payments copied to clipboard

Implement copy button for ChunkedSnippets component

Open huijing opened this issue 1 year ago • 0 comments

Context

Even though Starlight has added expressive code, and all our mdx code blocks written with fences has the copy button out-of-the-box, our ChunkedSnippet (and likely FullSnippet) components are not MDX, and therefore we need to roll our own. ¯\_(ツ)_/¯

huijing avatar Nov 29 '23 12:11 huijing