Putty has an option "Copy to clipboard, both to RTF and plain text". So it would be nice to be able to copy text with all colors to dokuwiki. For example, one can then copy the output of the yast management tool from OpenSuSE Leap to dokuwiki in color.
There is an old plugin xtermrtf which claims to do exactly this. Unfortunately it is very old and does not work with the current version of dokuwiki.
Perhaps replacements for it already exist, but I have not found anything like that?
I think an RTF plugin would be right here.