Could code fencing be enhanced to provide a Copy to Clipboard feature, currently, a CTRL+A selects all of the text in the whole window, not just the text in the fenced area when it’s focused.
Perhaps something like this in the bottom right and corner?
Die Funktion „In Zwischenablage kopieren“ wurde vor langer Zeit in den Discourse-Kern integriert. Es ist nicht notwendig, ein Plugin dafür zu installieren.
Suchen Sie in Ihren Website-Einstellungen nach show copy button on codeblocks .