To preserve formatting of code attach a .txt file or when posting directly to the forum switch to html mode and enclose your code block in
codeblock