nuxt-themes/typography

Code: copy button should be at bottom

atinux opened this issue · 5 comments

Happy to fix this today @bdrtsky ?

Why CopyButton even exist in this repo @Tahul

Tahul commented

I think there is two issues here:

  • nuxt.com has its own CopyButton.vue, at least it seems like so in the screenshot
  • ProseCode ain't done yet, and I think we should think of the best way to handle that specific component

What I would suggest is:

  • Removing CopyButton from nuxt.com
  • Finishing the implementation of CopyButton from this repository
  • Think of the best way to let users overwrite it

I would suggest it is called ProseCodeCopyButton now, as it might conflict with other components from the user project, CopyButton seem a bit too generic as a name.

I like ProseCodeCopyButton

Happy to remove it from nuxt.com once we have it.

I believe a ProseCode that has a copy button is great UX by default :)