Source code formatting in the forum

How can I mark source code in the forum to keep the formatting? Leading white space is always trimmed.

Thanks,
Peter

Please sign in to leave a comment.