title: Display javascript as code snippet
body: <p>What I'm trying to do is display a snippet of javascript on the page, and not have it run, just display as a code snippet for folks to copy. I load google's Prettify, then in the page I have this code:</p>
  
  <pre><code>    &lt;pre class="prettyprint"&gt;
      &lt;script&gt;
      $(document).ready(function(){
        setTimeout(function(){
          console.log('deleting cookie');
          $.cookie('cookie',null,{domain: document.domain});
       },1000);
      });
      &lt;/script&gt;
     &lt;/pre&gt;
  </code></pre>
  
  <p>But this code just executes and doesn't display the JS snippet. What am I missing here?</p>