It's not widely supported. It's not in e-mail or SMS or Gmail or Docs or Word or a hundred other pieces of software where I communicate.
Yes, I use that wherever it exists. It's great, and you're lucky when it's there. I wish it was everywhere. But as long as it's not, for everything else, there's screenshots.
SMS does not support images either, and email supports HTML. I'm not all that familiar with Word, but I believe it supports some formatting options too.
In my experience copying from some programs preserves long lines. Copying from other programs breaks them at the wrap point. Once the text is cut into lines, pasting can't fix it. I'm not at my computer now so I can't give factual examples. I guess that copying from the output of cat file on a terminal is one of those unfortunate cases.
Both examples you gave have pretty rough or nonexistent syntax highlighting support.
Who cares? If I really really really need that (I probably won't), I can open up vim, type `:set filetype=whatever`, and paste it in.
Many people care. Hence, the screenshots.
1 reply →
It's not widely supported. It's not in e-mail or SMS or Gmail or Docs or Word or a hundred other pieces of software where I communicate.
Yes, I use that wherever it exists. It's great, and you're lucky when it's there. I wish it was everywhere. But as long as it's not, for everything else, there's screenshots.
SMS does not support images either, and email supports HTML. I'm not all that familiar with Word, but I believe it supports some formatting options too.
But all of the software you mention has a monospace option.
It's so bad in teams and they put a rather small character limit on it....
Even Google chat can do it.
Slack seems to always wrap code blocks. It makes python particularly shit to read.
If it is that much code attach a file or github link to gist or PR.
In my experience copying from some programs preserves long lines. Copying from other programs breaks them at the wrap point. Once the text is cut into lines, pasting can't fix it. I'm not at my computer now so I can't give factual examples. I guess that copying from the output of cat file on a terminal is one of those unfortunate cases.