You can put your code in code tags, and it will be displayed with formatting (ie indentation) preserved. You put the code in <CODE>...</CODE> tags, but instead of using the angled brackets <> You use the square brackets [].