---
title: Django theme
encoding: utf-8
filter:
  - erb
  - maruku
theme: shThemeDjango
---

<pre>&lt;link type="text/css" rel="Stylesheet" href="/styles/shThemeDjango.css"/></pre> 

### Example
<div id="theme-example">
<pre class="brush: php; highlight: [2, 5]">
	/***********************************
	 ** Multiline block comments
	 **********************************/

	$stringWithUrl = "http://alexgorbatchev.com";
	$stringWithUrl = 'http://alexgorbatchev.com';
	
	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 &amp;&amp; !\$portal_gzcompress) {
			$buf = str_replace("	", "", $buf);
			$buf = str_replace("\n", "", $buf);
			$buf = str_replace(chr(13), "", $buf);
		}
	}
</pre> 
</div> 
 
<%= render(:partial => "/SyntaxHighlighter/partials/themes") %> 

