The original creators page is here.

 

<pre class="brush: php; highlight: [5, 15]; html-script: true">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>SyntaxHighlighter Demo Page - <?= htmlspecialchars(title) ?></title> </head>   <body>   <? /***********************************  ** Multiline block comments  **********************************/stringWithUrl = "http://alexgorbatchev.com";
stringWithOutUrl = 'hello world';   ob_start("parseOutputBuffer");      // Start Code Buffering session_start();   function parseOutputBuffer(buf) {
    global portal_small_code,portal_gzcompress;
    global PHP_SELF,HTTP_ACCEPT_ENCODING;
 
    // cleaning out the code.
    if(portal_small_code && !portal_gzcompress) {
        buf = str_replace("    ", "",buf);
        buf = str_replace("\n", "",buf);
        buf = str_replace(chr(13), "",buf);
    }
}
 
?>
 
<!-- Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. -->
 
</body>
</html>
</pre>

Categories: WordPress-PlugIn

Fudgy McFarlen

Woo hoo.

1 Comment

Freemon SandleWould MonsterID Icon Freemon SandleWould · May 2, 2012 at 7:32 am

This does play well with CKEditor.  Might work better as a CKEditor plugin.  See:

http://www.patrickjwaters.com/blog/2011-08-21/how-setup-syntaxhighlighter-use-ckeditor-module-drupal-6/3527

http://code.google.com/p/ckeditor-syntaxhighlight/downloads/list

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts

Blogging

Page Builder PlugIn by Site Origins for WordPress

    Page Builder is a plugIn for WordPress that allows you to use differing page layouts on any given entry.  An example of this is to have a 2 column layout instead of the Read more…

Computing

WP Display Header Custom WordPress Header Images Displayed on a per Page Basis

This plugin lets you specify the header image for each page post.  Unfortunately it does not work with my current theme "Simplicity".  Apparently it is too simple. WP Display Header I need a new theme. Read more…

WordPress

Yoast Search Engine Optimization SEO PlugIn for WordPress Blogs

Control What Facebook Shows When You Share Your Link The Yoast SEO plugin is a good tool for a novice at search engine optimization to improve their websites searchability and google ranking. The Yoast SEO Read more…