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?
La fonction « copier dans le presse-papiers » a été ajoutée au cœur de Discourse il y a longtemps. Il n’est pas nécessaire d’installer un plugin pour cela.
Dans les paramètres de votre site, recherchez show copy button on codeblocks .