https://linen.dev logo
Docs copy and paste does not exactly work, shows [...
# help
b
video shows it all...
g
Hey Ed! Thanks for reporting this 🙂 We'll have it sorted out this week!
b
hey ivan, i think can fix it,, is the website open source
g
Yes! https://github.com/shuttle-hq/www/ Feel free to open a PR 🙂 (iirc, the issue occurs when there's a mismatch in backticks)
b
https://github.com/shuttle-hq/www/pull/40, this should work, i used an alternative approach to copying text onto the keyboard
wait, the example in docs copy and paste works, but the blog one doesn't,,, does it use the same components? https://www.shuttle.rs/blog/2022/09/14/serentity-discord-bot
g
the docs are a separate entity,, detached from the website 🙂
g
u mean the blog?
l
The blog uses
CopyButton
component, some components on the rest of the website use the
Copy
icon.
We should probably make
CopyButton
universal.
I pulled this PR down locally to test, as I mentioned on Github. The problem does not seem to be related to copying logic itself, but the way MDX is parsed.
a
In that case it would probably better to standardise the components