Enlighter Theme

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. window.addEvent('domready', function(){}); invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.

Without Tabs

<head>
		<!-- Include EnlighterJS Styles -->
		<link rel="stylesheet" type="text/css" href="../Build/EnlighterJS.yui.css" />
		
		<!-- Include MooTools Framework -->
		<script type="text/javascript" src="mootools-core-1.4.5-full-nocompat.js"></script>
		
		<!-- Include EnlighterJS -->
		<script type="text/javascript" src="../Build/EnlighterJS.yui.js" ></script>
		
		<!-- Initialize EnlighterJS --> 
		<script type="text/javascript">
		window.addEvent('domready', function() {
			// highlight all pre tags
			document.getElements('pre').enlight({
				indent : 2
			});
		});
		</script>
</head>

With Tabs

// Load language parser
language = new EnlighterJS.Language[languageName](this.getRawCode(true));

// compile tokens -> generate output
var output = this.renderer.render(language, specialLines, {
	lineOffset: (this.rawCodeblock.get('data-enlighter-lineoffset') || null),
	lineNumbers: (this.rawCodeblock.get('data-enlighter-linenums') !== 'false')
});

// set class and id attributes.
output.addClass(themeName.toLowerCase() + 'EnlighterJS');		
output.addClass('EnlighterJS');		
output.set('id', 'EnlighterJS_' + String.uniqueID());
// Source:  http://en.wikipedia.org/wiki/Java_%28programming_language%29
// OddEven.java
import javax.swing.JOptionPane;
 
public class OddEven {
    /**
     * "input" is the number that the user gives to the computer
     */
    private int input; // a whole number("int" means integer)
 
    /**
     * This is the constructor method. It gets called when an object of the OddEven type
     * is being created.
     */
    public OddEven() {
        /*
         * In most Java programs constructors can initialize objects with default values, or create
         * other objects that this object might use to perform its functions. In some Java programs, the
         * constructor may simply be an empty function if nothing needs to be initialized prior to the
         * functioning of the object. In this program's case, an empty constructor would suffice.
         * A constructor must exist; however, if the user doesn't put one in then the compiler
         * will create an empty one.
         */
    }
}
/** Test Snippet */
$mysqli = new mysqli("localhost", "my_user", "my_password", "world");

/* check connection */
if (mysqli_connect_errno()) {
    printf("Connect failed: %s\n", mysqli_connect_error());
    exit();
}

/* Create table doesn't return a resultset */
if ($mysqli->query("CREATE TEMPORARY TABLE myCity LIKE City") === TRUE) {
    printf("Table myCity successfully created.\n");
}

/* Select queries return a resultset */
if ($result = $mysqli->query("SELECT Name FROM City LIMIT 10")) {
    printf("Select returned %d rows.\n", $result->num_rows);

    /* free result set */
    $result->close();
}

Classic Theme

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. window.addEvent('domready', function(){}); invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.

Without Tabs

<head>
		<!-- Include EnlighterJS Styles -->
		<link rel="stylesheet" type="text/css" href="../Build/EnlighterJS.yui.css" />
		
		<!-- Include MooTools Framework -->
		<script type="text/javascript" src="mootools-core-1.4.5-full-nocompat.js"></script>
		
		<!-- Include EnlighterJS -->
		<script type="text/javascript" src="../Build/EnlighterJS.yui.js" ></script>
		
		<!-- Initialize EnlighterJS --> 
		<script type="text/javascript">
		window.addEvent('domready', function() {
			// highlight all pre tags
			document.getElements('pre').enlight({
				indent : 2
			});
		});
		</script>
</head>

With Tabs

// Load language parser
language = new EnlighterJS.Language[languageName](this.getRawCode(true));

// compile tokens -> generate output
var output = this.renderer.render(language, specialLines, {
	lineOffset: (this.rawCodeblock.get('data-enlighter-lineoffset') || null),
	lineNumbers: (this.rawCodeblock.get('data-enlighter-linenums') !== 'false')
});

// set class and id attributes.
output.addClass(themeName.toLowerCase() + 'EnlighterJS');		
output.addClass('EnlighterJS');		
output.set('id', 'EnlighterJS_' + String.uniqueID());
// Source:  http://en.wikipedia.org/wiki/Java_%28programming_language%29
// OddEven.java
import javax.swing.JOptionPane;
 
public class OddEven {
    /**
     * "input" is the number that the user gives to the computer
     */
    private int input; // a whole number("int" means integer)
 
    /**
     * This is the constructor method. It gets called when an object of the OddEven type
     * is being created.
     */
    public OddEven() {
        /*
         * In most Java programs constructors can initialize objects with default values, or create
         * other objects that this object might use to perform its functions. In some Java programs, the
         * constructor may simply be an empty function if nothing needs to be initialized prior to the
         * functioning of the object. In this program's case, an empty constructor would suffice.
         * A constructor must exist; however, if the user doesn't put one in then the compiler
         * will create an empty one.
         */
    }
}
/** Test Snippet */
$mysqli = new mysqli("localhost", "my_user", "my_password", "world");

/* check connection */
if (mysqli_connect_errno()) {
    printf("Connect failed: %s\n", mysqli_connect_error());
    exit();
}

/* Create table doesn't return a resultset */
if ($mysqli->query("CREATE TEMPORARY TABLE myCity LIKE City") === TRUE) {
    printf("Table myCity successfully created.\n");
}

/* Select queries return a resultset */
if ($result = $mysqli->query("SELECT Name FROM City LIMIT 10")) {
    printf("Select returned %d rows.\n", $result->num_rows);

    /* free result set */
    $result->close();
}

Eclipse Theme

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. window.addEvent('domready', function(){}); invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.

Without Tabs

<head>
		<!-- Include EnlighterJS Styles -->
		<link rel="stylesheet" type="text/css" href="../Build/EnlighterJS.yui.css" />
		
		<!-- Include MooTools Framework -->
		<script type="text/javascript" src="mootools-core-1.4.5-full-nocompat.js"></script>
		
		<!-- Include EnlighterJS -->
		<script type="text/javascript" src="../Build/EnlighterJS.yui.js" ></script>
		
		<!-- Initialize EnlighterJS --> 
		<script type="text/javascript">
		window.addEvent('domready', function() {
			// highlight all pre tags
			document.getElements('pre').enlight({
				indent : 2
			});
		});
		</script>
</head>

With Tabs

// Load language parser
language = new EnlighterJS.Language[languageName](this.getRawCode(true));

// compile tokens -> generate output
var output = this.renderer.render(language, specialLines, {
	lineOffset: (this.rawCodeblock.get('data-enlighter-lineoffset') || null),
	lineNumbers: (this.rawCodeblock.get('data-enlighter-linenums') !== 'false')
});

// set class and id attributes.
output.addClass(themeName.toLowerCase() + 'EnlighterJS');		
output.addClass('EnlighterJS');		
output.set('id', 'EnlighterJS_' + String.uniqueID());
// Source:  http://en.wikipedia.org/wiki/Java_%28programming_language%29
// OddEven.java
import javax.swing.JOptionPane;
 
public class OddEven {
    /**
     * "input" is the number that the user gives to the computer
     */
    private int input; // a whole number("int" means integer)
 
    /**
     * This is the constructor method. It gets called when an object of the OddEven type
     * is being created.
     */
    public OddEven() {
        /*
         * In most Java programs constructors can initialize objects with default values, or create
         * other objects that this object might use to perform its functions. In some Java programs, the
         * constructor may simply be an empty function if nothing needs to be initialized prior to the
         * functioning of the object. In this program's case, an empty constructor would suffice.
         * A constructor must exist; however, if the user doesn't put one in then the compiler
         * will create an empty one.
         */
    }
}
/** Test Snippet */
$mysqli = new mysqli("localhost", "my_user", "my_password", "world");

/* check connection */
if (mysqli_connect_errno()) {
    printf("Connect failed: %s\n", mysqli_connect_error());
    exit();
}

/* Create table doesn't return a resultset */
if ($mysqli->query("CREATE TEMPORARY TABLE myCity LIKE City") === TRUE) {
    printf("Table myCity successfully created.\n");
}

/* Select queries return a resultset */
if ($result = $mysqli->query("SELECT Name FROM City LIMIT 10")) {
    printf("Select returned %d rows.\n", $result->num_rows);

    /* free result set */
    $result->close();
}

Beyond Theme

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. window.addEvent('domready', function(){}); invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.

Without Tabs

<head>
		<!-- Include EnlighterJS Styles -->
		<link rel="stylesheet" type="text/css" href="../Build/EnlighterJS.yui.css" />
		
		<!-- Include MooTools Framework -->
		<script type="text/javascript" src="mootools-core-1.4.5-full-nocompat.js"></script>
		
		<!-- Include EnlighterJS -->
		<script type="text/javascript" src="../Build/EnlighterJS.yui.js" ></script>
		
		<!-- Initialize EnlighterJS --> 
		<script type="text/javascript">
		window.addEvent('domready', function() {
			// highlight all pre tags
			document.getElements('pre').enlight({
				indent : 2
			});
		});
		</script>
</head>

With Tabs

// Load language parser
language = new EnlighterJS.Language[languageName](this.getRawCode(true));

// compile tokens -> generate output
var output = this.renderer.render(language, specialLines, {
	lineOffset: (this.rawCodeblock.get('data-enlighter-lineoffset') || null),
	lineNumbers: (this.rawCodeblock.get('data-enlighter-linenums') !== 'false')
});

// set class and id attributes.
output.addClass(themeName.toLowerCase() + 'EnlighterJS');		
output.addClass('EnlighterJS');		
output.set('id', 'EnlighterJS_' + String.uniqueID());
// Source:  http://en.wikipedia.org/wiki/Java_%28programming_language%29
// OddEven.java
import javax.swing.JOptionPane;
 
public class OddEven {
    /**
     * "input" is the number that the user gives to the computer
     */
    private int input; // a whole number("int" means integer)
 
    /**
     * This is the constructor method. It gets called when an object of the OddEven type
     * is being created.
     */
    public OddEven() {
        /*
         * In most Java programs constructors can initialize objects with default values, or create
         * other objects that this object might use to perform its functions. In some Java programs, the
         * constructor may simply be an empty function if nothing needs to be initialized prior to the
         * functioning of the object. In this program's case, an empty constructor would suffice.
         * A constructor must exist; however, if the user doesn't put one in then the compiler
         * will create an empty one.
         */
    }
}
/** Test Snippet */
$mysqli = new mysqli("localhost", "my_user", "my_password", "world");

/* check connection */
if (mysqli_connect_errno()) {
    printf("Connect failed: %s\n", mysqli_connect_error());
    exit();
}

/* Create table doesn't return a resultset */
if ($mysqli->query("CREATE TEMPORARY TABLE myCity LIKE City") === TRUE) {
    printf("Table myCity successfully created.\n");
}

/* Select queries return a resultset */
if ($result = $mysqli->query("SELECT Name FROM City LIMIT 10")) {
    printf("Select returned %d rows.\n", $result->num_rows);

    /* free result set */
    $result->close();
}

Git Theme

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. window.addEvent('domready', function(){}); invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.

Without Tabs

<head>
		<!-- Include EnlighterJS Styles -->
		<link rel="stylesheet" type="text/css" href="../Build/EnlighterJS.yui.css" />
		
		<!-- Include MooTools Framework -->
		<script type="text/javascript" src="mootools-core-1.4.5-full-nocompat.js"></script>
		
		<!-- Include EnlighterJS -->
		<script type="text/javascript" src="../Build/EnlighterJS.yui.js" ></script>
		
		<!-- Initialize EnlighterJS --> 
		<script type="text/javascript">
		window.addEvent('domready', function() {
			// highlight all pre tags
			document.getElements('pre').enlight({
				indent : 2
			});
		});
		</script>
</head>

With Tabs

// Load language parser
language = new EnlighterJS.Language[languageName](this.getRawCode(true));

// compile tokens -> generate output
var output = this.renderer.render(language, specialLines, {
	lineOffset: (this.rawCodeblock.get('data-enlighter-lineoffset') || null),
	lineNumbers: (this.rawCodeblock.get('data-enlighter-linenums') !== 'false')
});

// set class and id attributes.
output.addClass(themeName.toLowerCase() + 'EnlighterJS');		
output.addClass('EnlighterJS');		
output.set('id', 'EnlighterJS_' + String.uniqueID());
// Source:  http://en.wikipedia.org/wiki/Java_%28programming_language%29
// OddEven.java
import javax.swing.JOptionPane;
 
public class OddEven {
    /**
     * "input" is the number that the user gives to the computer
     */
    private int input; // a whole number("int" means integer)
 
    /**
     * This is the constructor method. It gets called when an object of the OddEven type
     * is being created.
     */
    public OddEven() {
        /*
         * In most Java programs constructors can initialize objects with default values, or create
         * other objects that this object might use to perform its functions. In some Java programs, the
         * constructor may simply be an empty function if nothing needs to be initialized prior to the
         * functioning of the object. In this program's case, an empty constructor would suffice.
         * A constructor must exist; however, if the user doesn't put one in then the compiler
         * will create an empty one.
         */
    }
}
/** Test Snippet */
$mysqli = new mysqli("localhost", "my_user", "my_password", "world");

/* check connection */
if (mysqli_connect_errno()) {
    printf("Connect failed: %s\n", mysqli_connect_error());
    exit();
}

/* Create table doesn't return a resultset */
if ($mysqli->query("CREATE TEMPORARY TABLE myCity LIKE City") === TRUE) {
    printf("Table myCity successfully created.\n");
}

/* Select queries return a resultset */
if ($result = $mysqli->query("SELECT Name FROM City LIMIT 10")) {
    printf("Select returned %d rows.\n", $result->num_rows);

    /* free result set */
    $result->close();
}

Mocha Theme

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. window.addEvent('domready', function(){}); invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.

Without Tabs

<head>
		<!-- Include EnlighterJS Styles -->
		<link rel="stylesheet" type="text/css" href="../Build/EnlighterJS.yui.css" />
		
		<!-- Include MooTools Framework -->
		<script type="text/javascript" src="mootools-core-1.4.5-full-nocompat.js"></script>
		
		<!-- Include EnlighterJS -->
		<script type="text/javascript" src="../Build/EnlighterJS.yui.js" ></script>
		
		<!-- Initialize EnlighterJS --> 
		<script type="text/javascript">
		window.addEvent('domready', function() {
			// highlight all pre tags
			document.getElements('pre').enlight({
				indent : 2
			});
		});
		</script>
</head>

With Tabs

// Load language parser
language = new EnlighterJS.Language[languageName](this.getRawCode(true));

// compile tokens -> generate output
var output = this.renderer.render(language, specialLines, {
	lineOffset: (this.rawCodeblock.get('data-enlighter-lineoffset') || null),
	lineNumbers: (this.rawCodeblock.get('data-enlighter-linenums') !== 'false')
});

// set class and id attributes.
output.addClass(themeName.toLowerCase() + 'EnlighterJS');		
output.addClass('EnlighterJS');		
output.set('id', 'EnlighterJS_' + String.uniqueID());
// Source:  http://en.wikipedia.org/wiki/Java_%28programming_language%29
// OddEven.java
import javax.swing.JOptionPane;
 
public class OddEven {
    /**
     * "input" is the number that the user gives to the computer
     */
    private int input; // a whole number("int" means integer)
 
    /**
     * This is the constructor method. It gets called when an object of the OddEven type
     * is being created.
     */
    public OddEven() {
        /*
         * In most Java programs constructors can initialize objects with default values, or create
         * other objects that this object might use to perform its functions. In some Java programs, the
         * constructor may simply be an empty function if nothing needs to be initialized prior to the
         * functioning of the object. In this program's case, an empty constructor would suffice.
         * A constructor must exist; however, if the user doesn't put one in then the compiler
         * will create an empty one.
         */
    }
}
/** Test Snippet */
$mysqli = new mysqli("localhost", "my_user", "my_password", "world");

/* check connection */
if (mysqli_connect_errno()) {
    printf("Connect failed: %s\n", mysqli_connect_error());
    exit();
}

/* Create table doesn't return a resultset */
if ($mysqli->query("CREATE TEMPORARY TABLE myCity LIKE City") === TRUE) {
    printf("Table myCity successfully created.\n");
}

/* Select queries return a resultset */
if ($result = $mysqli->query("SELECT Name FROM City LIMIT 10")) {
    printf("Select returned %d rows.\n", $result->num_rows);

    /* free result set */
    $result->close();
}

MooTools Theme

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. window.addEvent('domready', function(){}); invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.

Without Tabs

<head>
		<!-- Include EnlighterJS Styles -->
		<link rel="stylesheet" type="text/css" href="../Build/EnlighterJS.yui.css" />
		
		<!-- Include MooTools Framework -->
		<script type="text/javascript" src="mootools-core-1.4.5-full-nocompat.js"></script>
		
		<!-- Include EnlighterJS -->
		<script type="text/javascript" src="../Build/EnlighterJS.yui.js" ></script>
		
		<!-- Initialize EnlighterJS --> 
		<script type="text/javascript">
		window.addEvent('domready', function() {
			// highlight all pre tags
			document.getElements('pre').enlight({
				indent : 2
			});
		});
		</script>
</head>

With Tabs

// Load language parser
language = new EnlighterJS.Language[languageName](this.getRawCode(true));

// compile tokens -> generate output
var output = this.renderer.render(language, specialLines, {
	lineOffset: (this.rawCodeblock.get('data-enlighter-lineoffset') || null),
	lineNumbers: (this.rawCodeblock.get('data-enlighter-linenums') !== 'false')
});

// set class and id attributes.
output.addClass(themeName.toLowerCase() + 'EnlighterJS');		
output.addClass('EnlighterJS');		
output.set('id', 'EnlighterJS_' + String.uniqueID());
// Source:  http://en.wikipedia.org/wiki/Java_%28programming_language%29
// OddEven.java
import javax.swing.JOptionPane;
 
public class OddEven {
    /**
     * "input" is the number that the user gives to the computer
     */
    private int input; // a whole number("int" means integer)
 
    /**
     * This is the constructor method. It gets called when an object of the OddEven type
     * is being created.
     */
    public OddEven() {
        /*
         * In most Java programs constructors can initialize objects with default values, or create
         * other objects that this object might use to perform its functions. In some Java programs, the
         * constructor may simply be an empty function if nothing needs to be initialized prior to the
         * functioning of the object. In this program's case, an empty constructor would suffice.
         * A constructor must exist; however, if the user doesn't put one in then the compiler
         * will create an empty one.
         */
    }
}
/** Test Snippet */
$mysqli = new mysqli("localhost", "my_user", "my_password", "world");

/* check connection */
if (mysqli_connect_errno()) {
    printf("Connect failed: %s\n", mysqli_connect_error());
    exit();
}

/* Create table doesn't return a resultset */
if ($mysqli->query("CREATE TEMPORARY TABLE myCity LIKE City") === TRUE) {
    printf("Table myCity successfully created.\n");
}

/* Select queries return a resultset */
if ($result = $mysqli->query("SELECT Name FROM City LIMIT 10")) {
    printf("Select returned %d rows.\n", $result->num_rows);

    /* free result set */
    $result->close();
}

Panic Theme

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. window.addEvent('domready', function(){}); invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.

Without Tabs

<head>
		<!-- Include EnlighterJS Styles -->
		<link rel="stylesheet" type="text/css" href="../Build/EnlighterJS.yui.css" />
		
		<!-- Include MooTools Framework -->
		<script type="text/javascript" src="mootools-core-1.4.5-full-nocompat.js"></script>
		
		<!-- Include EnlighterJS -->
		<script type="text/javascript" src="../Build/EnlighterJS.yui.js" ></script>
		
		<!-- Initialize EnlighterJS --> 
		<script type="text/javascript">
		window.addEvent('domready', function() {
			// highlight all pre tags
			document.getElements('pre').enlight({
				indent : 2
			});
		});
		</script>
</head>

With Tabs

// Load language parser
language = new EnlighterJS.Language[languageName](this.getRawCode(true));

// compile tokens -> generate output
var output = this.renderer.render(language, specialLines, {
	lineOffset: (this.rawCodeblock.get('data-enlighter-lineoffset') || null),
	lineNumbers: (this.rawCodeblock.get('data-enlighter-linenums') !== 'false')
});

// set class and id attributes.
output.addClass(themeName.toLowerCase() + 'EnlighterJS');		
output.addClass('EnlighterJS');		
output.set('id', 'EnlighterJS_' + String.uniqueID());
// Source:  http://en.wikipedia.org/wiki/Java_%28programming_language%29
// OddEven.java
import javax.swing.JOptionPane;
 
public class OddEven {
    /**
     * "input" is the number that the user gives to the computer
     */
    private int input; // a whole number("int" means integer)
 
    /**
     * This is the constructor method. It gets called when an object of the OddEven type
     * is being created.
     */
    public OddEven() {
        /*
         * In most Java programs constructors can initialize objects with default values, or create
         * other objects that this object might use to perform its functions. In some Java programs, the
         * constructor may simply be an empty function if nothing needs to be initialized prior to the
         * functioning of the object. In this program's case, an empty constructor would suffice.
         * A constructor must exist; however, if the user doesn't put one in then the compiler
         * will create an empty one.
         */
    }
}
/** Test Snippet */
$mysqli = new mysqli("localhost", "my_user", "my_password", "world");

/* check connection */
if (mysqli_connect_errno()) {
    printf("Connect failed: %s\n", mysqli_connect_error());
    exit();
}

/* Create table doesn't return a resultset */
if ($mysqli->query("CREATE TEMPORARY TABLE myCity LIKE City") === TRUE) {
    printf("Table myCity successfully created.\n");
}

/* Select queries return a resultset */
if ($result = $mysqli->query("SELECT Name FROM City LIMIT 10")) {
    printf("Select returned %d rows.\n", $result->num_rows);

    /* free result set */
    $result->close();
}

Tutti Theme

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. window.addEvent('domready', function(){}); invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.

Without Tabs

<head>
		<!-- Include EnlighterJS Styles -->
		<link rel="stylesheet" type="text/css" href="../Build/EnlighterJS.yui.css" />
		
		<!-- Include MooTools Framework -->
		<script type="text/javascript" src="mootools-core-1.4.5-full-nocompat.js"></script>
		
		<!-- Include EnlighterJS -->
		<script type="text/javascript" src="../Build/EnlighterJS.yui.js" ></script>
		
		<!-- Initialize EnlighterJS --> 
		<script type="text/javascript">
		window.addEvent('domready', function() {
			// highlight all pre tags
			document.getElements('pre').enlight({
				indent : 2
			});
		});
		</script>
</head>

With Tabs

// Load language parser
language = new EnlighterJS.Language[languageName](this.getRawCode(true));

// compile tokens -> generate output
var output = this.renderer.render(language, specialLines, {
	lineOffset: (this.rawCodeblock.get('data-enlighter-lineoffset') || null),
	lineNumbers: (this.rawCodeblock.get('data-enlighter-linenums') !== 'false')
});

// set class and id attributes.
output.addClass(themeName.toLowerCase() + 'EnlighterJS');		
output.addClass('EnlighterJS');		
output.set('id', 'EnlighterJS_' + String.uniqueID());
// Source:  http://en.wikipedia.org/wiki/Java_%28programming_language%29
// OddEven.java
import javax.swing.JOptionPane;
 
public class OddEven {
    /**
     * "input" is the number that the user gives to the computer
     */
    private int input; // a whole number("int" means integer)
 
    /**
     * This is the constructor method. It gets called when an object of the OddEven type
     * is being created.
     */
    public OddEven() {
        /*
         * In most Java programs constructors can initialize objects with default values, or create
         * other objects that this object might use to perform its functions. In some Java programs, the
         * constructor may simply be an empty function if nothing needs to be initialized prior to the
         * functioning of the object. In this program's case, an empty constructor would suffice.
         * A constructor must exist; however, if the user doesn't put one in then the compiler
         * will create an empty one.
         */
    }
}
/** Test Snippet */
$mysqli = new mysqli("localhost", "my_user", "my_password", "world");

/* check connection */
if (mysqli_connect_errno()) {
    printf("Connect failed: %s\n", mysqli_connect_error());
    exit();
}

/* Create table doesn't return a resultset */
if ($mysqli->query("CREATE TEMPORARY TABLE myCity LIKE City") === TRUE) {
    printf("Table myCity successfully created.\n");
}

/* Select queries return a resultset */
if ($result = $mysqli->query("SELECT Name FROM City LIMIT 10")) {
    printf("Select returned %d rows.\n", $result->num_rows);

    /* free result set */
    $result->close();
}

Twilight Theme

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. window.addEvent('domready', function(){}); invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.

Without Tabs

<head>
		<!-- Include EnlighterJS Styles -->
		<link rel="stylesheet" type="text/css" href="../Build/EnlighterJS.yui.css" />
		
		<!-- Include MooTools Framework -->
		<script type="text/javascript" src="mootools-core-1.4.5-full-nocompat.js"></script>
		
		<!-- Include EnlighterJS -->
		<script type="text/javascript" src="../Build/EnlighterJS.yui.js" ></script>
		
		<!-- Initialize EnlighterJS --> 
		<script type="text/javascript">
		window.addEvent('domready', function() {
			// highlight all pre tags
			document.getElements('pre').enlight({
				indent : 2
			});
		});
		</script>
</head>

With Tabs

// Load language parser
language = new EnlighterJS.Language[languageName](this.getRawCode(true));

// compile tokens -> generate output
var output = this.renderer.render(language, specialLines, {
	lineOffset: (this.rawCodeblock.get('data-enlighter-lineoffset') || null),
	lineNumbers: (this.rawCodeblock.get('data-enlighter-linenums') !== 'false')
});

// set class and id attributes.
output.addClass(themeName.toLowerCase() + 'EnlighterJS');		
output.addClass('EnlighterJS');		
output.set('id', 'EnlighterJS_' + String.uniqueID());
// Source:  http://en.wikipedia.org/wiki/Java_%28programming_language%29
// OddEven.java
import javax.swing.JOptionPane;
 
public class OddEven {
    /**
     * "input" is the number that the user gives to the computer
     */
    private int input; // a whole number("int" means integer)
 
    /**
     * This is the constructor method. It gets called when an object of the OddEven type
     * is being created.
     */
    public OddEven() {
        /*
         * In most Java programs constructors can initialize objects with default values, or create
         * other objects that this object might use to perform its functions. In some Java programs, the
         * constructor may simply be an empty function if nothing needs to be initialized prior to the
         * functioning of the object. In this program's case, an empty constructor would suffice.
         * A constructor must exist; however, if the user doesn't put one in then the compiler
         * will create an empty one.
         */
    }
}
/** Test Snippet */
$mysqli = new mysqli("localhost", "my_user", "my_password", "world");

/* check connection */
if (mysqli_connect_errno()) {
    printf("Connect failed: %s\n", mysqli_connect_error());
    exit();
}

/* Create table doesn't return a resultset */
if ($mysqli->query("CREATE TEMPORARY TABLE myCity LIKE City") === TRUE) {
    printf("Table myCity successfully created.\n");
}

/* Select queries return a resultset */
if ($result = $mysqli->query("SELECT Name FROM City LIMIT 10")) {
    printf("Select returned %d rows.\n", $result->num_rows);

    /* free result set */
    $result->close();
}