I'm very grateful for the code function, as it makes it easy to illustrate some answers. Yet, I feel I for one have the risk of overloading my answer with R code. Good if you know R, but not always that easy to read for people not familiar with that language.
I answered this question recently and illustrated with a plot I drew quickly in R. I'd like to give the R code for it as well, but not in the text. Is there a way we could implement attachment of a code file? I could give it as a comment, but that looks so incredibly ugly...
So would it be feasible to allow attachment of -limited- code for illustration? If so, in which form could this be done?