Copying Code-Fenced Text

Hi,

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?

image

3 „Gefällt mir“

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 .

3 „Gefällt mir“

Hallo Daniela,

Oh, das wusste ich nicht und fühle mich jetzt ein wenig albern ;]. Danke, dass du mich darauf aufmerksam gemacht hast, es funktioniert einwandfrei.

Mit freundlichen Grüßen,
Andreas.

1 „Gefällt mir“