For any web designers that have sites powered by Expression Engine and want to show code snippets in posts then just wrap your code in the EE code tags like this (but remove the quotes)…

“[ code ] Your snippet here [ /code ]”

And your code will then show in the post all nicely formatted and syntax coloured like this…

<script type="text/javascript">
document).ready(function() {
$("#quicklinks a[title]").tooltip({ position"top center"offset[180]});