In Markdown, you should be able to specify a block of code that will not trim whitespace by using four spaces in front of every line of code. Why doesn't it work?
Using code in Trello Cards
trello;formatting