Is it possible to add a class to pre tag to disable code highlight? I tried adding classes prettyprint-false and no-prettyprint. https://code.google.com/p/google-code-prettify/wiki/GettingStarted
            Asked
            
        
        
            Active
            
        
            Viewed 673 times
        
    1 Answers
3
            
            
        <pre class="prettyprint prettyprinted">
Or within a pretty-printed block, add this to a section you don't want prettified:
<span class="nocode"> ... </span>
Example of a prettyprinted block with a "nocode" section:
<pre class="prettyprint">
   select blah
   from   blahblah
   where  blahblahblah;
   <span class="nocode">
   BLAH
   ------------
   Various results
   of clever query
   2 rows selected.
   </span>
</pre>
 
    
    
        William Robertson
        
- 15,273
- 4
- 38
- 44
