觉得手动copy麻烦的话,写一个小脚本,执行即可copy
1 2 3 4 5 6 7 8 9 10 11 12
| let val = "";
$('.code .container div').each((i,e)=>val+= $(e).text() + "\n");
let input = document.createElement('textarea'); input.value = val; document.body.appendChild(input); input.select(); document.execCommand('copy'); document.body.removeChild(input);
|