Need To Post Unformated Code

Im wanting to use wordpress to share some code snips. However when viewing the posts some of the code tries to format even though its in pre or code tags. Is there anyone way to modify

    <?php the_content(); ?>

So that it will replace <, and > with the correct <, and > methods? I think this is my issue.

Related posts