'How to enable copying code blocks in Doxygen-generated documentation?

I'd love to understand how I can enable a function that allows Doxygen-generated documentation to copy a code block by clicking a button. Currently it seems the user needs to manually move the cursor to copy the entire code segment.

How would I enable this? Been combing through the support but have found no such thing. Thank you!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source