rabbitmq / rabbitmq-website

RabbitMQ website
https://www.rabbitmq.com
Apache License 2.0
814 stars 723 forks source link

Adding a clipboard next to the code section in tutorials part #1797

Open crosswalkz opened 8 months ago

crosswalkz commented 8 months ago

Is your feature request related to a problem? Please describe.

It is a bit tedious to explicitly copy the code/commands from the tutorials page while learning. Instead I think that providing a separate clipboard feature to copy the code/commands would be a good idea.

Describe the solution you'd like

Adding a clipboard icon next to the code section (similar to other coding tutorial blog pages) in tutorials part so that we can easily copy the code/commands in the clipboard, rather than selecting the text explicitly. I believe that it would be beneficial for the users and would provide better user experience.

Describe alternatives you've considered

Only alternative is explicitly selecting the text.

Additional context

No response

michaelklishin commented 8 months ago

This is something that the new Docusaurus-based site may get us for free (see the main branch currently pending a 3.13 release).

Also, there are executable versions of all tutorials and even more ports. So no, manually copying the text is not the only alternative.