I always struggle for like 10min trying to add code to my question..

I either have to paste it all in, then go and manually add spaces, or I use <kbd>Ctrl</kbd>+<kbd>K</kbd> and paste it in one line at a time. 

Is this just me not understanding something, or is it just really time consuming?