Max number of lines in code snippet preview

Hello,

Is it currently possible to limit max number of lines in code snippet preview?

Eg, you paste 1000 lines code and then MatterMost only display the first five lines as a preview.
It currently displays much more lines in preview, which is not always good idea.