Add support for copy-paste formatting