When people link to images I've seen posts has been edited to copy and include the image into the post directly. This is useful to make sure that the image is always available (stackexchange copies the image resource) and most likely it's useful that it is inline in the post too.
I'm wondering if it's appropriate to do the same thing with referenced code, like in this question. Right now the paste is done as it has timed out, but I'm wondering if it would be appropriate to include the text directly into the post.
This question is slightly similar to this question, but not entirely.