<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Adding A New Brush&#160;(Language)</title>
	<atom:link href="http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/adding-a-new-brush-language/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.viper007bond.com</link>
	<description>Random stuff written by Alex Mills</description>
	<lastBuildDate>Sat, 11 Feb 2012 06:09:37 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4-alpha-19719</generator>
	<item>
		<title>By: Wordpress &#8211; Syntax Highlighter &#8211; Add Custom Brush(es) &#124; Me Like Dev</title>
		<link>http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/adding-a-new-brush-language/comment-page-1/#comment-236021</link>
		<dc:creator>Wordpress &#8211; Syntax Highlighter &#8211; Add Custom Brush(es) &#124; Me Like Dev</dc:creator>
		<pubDate>Sat, 11 Feb 2012 06:09:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.viper007bond.com/?page_id=1199#comment-236021</guid>
		<description>[...] There is now a plugin way of adding your custom brushes which I recommend you use, otherwise your brushes will be over-ridden during updates. For more information check out http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/adding-a-new-brush-language/. [...]</description>
		<content:encoded><![CDATA[<p>[...] There is now a plugin way of adding your custom brushes which I recommend you use, otherwise your brushes will be over-ridden during updates. For more information check out http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/adding-a-new-brush-language/. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adding a new brush to the SyntaxHighlighter Evolved plugin &#124; http://blog.hashbangweb.com</title>
		<link>http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/adding-a-new-brush-language/comment-page-1/#comment-235831</link>
		<dc:creator>Adding a new brush to the SyntaxHighlighter Evolved plugin &#124; http://blog.hashbangweb.com</dc:creator>
		<pubDate>Sat, 07 Jan 2012 19:22:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.viper007bond.com/?page_id=1199#comment-235831</guid>
		<description>[...] /wp-content/plugins/syntaxhighlighter/third-party-brushes/_readme.txt file directs you to Adding A New Brush (Language) page for further [...]</description>
		<content:encoded><![CDATA[<p>[...] /wp-content/plugins/syntaxhighlighter/third-party-brushes/_readme.txt file directs you to Adding A New Brush (Language) page for further [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/adding-a-new-brush-language/comment-page-1/#comment-235830</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Sat, 07 Jan 2012 18:26:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.viper007bond.com/?page_id=1199#comment-235830</guid>
		<description>Thank you Alex. I followed your instructions to write a custom plugin for shBrushBat.js and it works perfectly.</description>
		<content:encoded><![CDATA[<p>Thank you Alex. I followed your instructions to write a custom plugin for shBrushBat.js and it works perfectly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Unable to perform Translation:Quota Exceeded. Please see http://code.google.com/apis/language/translate/overview.html - CyberMaster</title>
		<link>http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/adding-a-new-brush-language/comment-page-1/#comment-235456</link>
		<dc:creator>Unable to perform Translation:Quota Exceeded. Please see http://code.google.com/apis/language/translate/overview.html - CyberMaster</dc:creator>
		<pubDate>Fri, 18 Nov 2011 11:15:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.viper007bond.com/?page_id=1199#comment-235456</guid>
		<description>[...] this plugin follows the programming conventions outlined by Alex Mills (Viper007) for extending his plugin: Adding A New Brush (Language) [...]</description>
		<content:encoded><![CDATA[<p>[...] this plugin follows the programming conventions outlined by Alex Mills (Viper007) for extending his plugin: Adding A New Brush (Language) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Proc</title>
		<link>http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/adding-a-new-brush-language/comment-page-1/#comment-235229</link>
		<dc:creator>Proc</dc:creator>
		<pubDate>Sun, 16 Oct 2011 00:46:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.viper007bond.com/?page_id=1199#comment-235229</guid>
		<description>I left the code bracket off the above comment,  it looks like 

[code]
&lt;pre class=&quot;brush: sas; title: ; notranslate&quot; title=&quot;&quot;&gt;
proc sort data = sample;
by variable;
run;
&lt;/pre&gt;
[/code]</description>
		<content:encoded><![CDATA[<p>I left the code bracket off the above comment,  it looks like </p>
<pre class="brush: plain; title: ; notranslate">
&lt;pre class=&quot;brush: sas; title: ; notranslate&quot; title=&quot;&quot;&gt;
proc sort data = sample;
by variable;
run;
&lt;/pre&gt;
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Proc</title>
		<link>http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/adding-a-new-brush-language/comment-page-1/#comment-235228</link>
		<dc:creator>Proc</dc:creator>
		<pubDate>Sun, 16 Oct 2011 00:45:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.viper007bond.com/?page_id=1199#comment-235228</guid>
		<description>The page source looks like this:

[code][/code]

proc sort data = sample;
by variable;
run;


It highlights Bash and some of the other syntaxes fine if I use those brushes.   It&#039;s just not finding the proc, sort or run to highlight for some reason.</description>
		<content:encoded><![CDATA[<p>The page source looks like this:</p>
<p>proc sort data = sample;<br />
by variable;<br />
run;</p>
<p>It highlights Bash and some of the other syntaxes fine if I use those brushes.   It&#8217;s just not finding the proc, sort or run to highlight for some reason.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex (Viper007Bond)</title>
		<link>http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/adding-a-new-brush-language/comment-page-1/#comment-235189</link>
		<dc:creator>Alex (Viper007Bond)</dc:creator>
		<pubDate>Tue, 11 Oct 2011 04:00:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.viper007bond.com/?page_id=1199#comment-235189</guid>
		<description>Hmm, looks correct. You&#039;re sure the plugin is activated? When you use &lt;code&gt;[sas]&lt;/code&gt;, does it transform into a &lt;code&gt;&lt;pre&gt;&lt;/code&gt; tag on your blog like it should?</description>
		<content:encoded><![CDATA[<p>Hmm, looks correct. You&#8217;re sure the plugin is activated? When you use <code>[sas]</code>, does it transform into a <code>&lt;pre&gt;</code> tag on your blog like it should?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Proc</title>
		<link>http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/adding-a-new-brush-language/comment-page-1/#comment-235188</link>
		<dc:creator>Proc</dc:creator>
		<pubDate>Tue, 11 Oct 2011 02:01:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.viper007bond.com/?page_id=1199#comment-235188</guid>
		<description>For some reason, I&#039;m not getting any syntax highlight nor any sort of errors.   Any thoughts?

Plugin Code:

[code]
&lt;?php
/*
Plugin Name: SyntaxHighlighter Evolved: SAS Brush
Description: Adds support for the SAS Language
Author: ProcRun
Version: 0.1
Author URL: http://www.procrun.com
*/
 
// SyntaxHighlighter Evolved doesn&#039;t do anything until early in the &quot;init&quot; hook, so best to wait until after that
add_action( &#039;init&#039;, &#039;syntaxhighlighter_sas_regscript&#039; );
 
// Tell SyntaxHighlighter Evolved about this new language/brush
add_filter( &#039;syntaxhighlighter_brushes&#039;, &#039;syntaxhighlighter_sas_addlang&#039; );
 
// Register the brush file with WordPress
function syntaxhighlighter_sas_regscript() {
    wp_register_script( &#039;syntaxhighlighter-brush-sas&#039;, plugins_url( &#039;syntaxhighlighter-sas/shBrushSAS.js&#039;), array(&#039;syntaxhighlighter-core&#039;), &#039;1.2.3&#039; );
}
 
// Filter SyntaxHighlighter Evolved&#039;s language array
function syntaxhighlighter_sas_addlang( $brushes ) {
    $brushes[&#039;sas&#039;] = &#039;sas&#039;;
    $brushes[&#039;SAS&#039;] = &#039;sas&#039;;
 
    return $brushes;
}
 
?&gt;
[/code]

Actual brush:
[code]
SyntaxHighlighter.brushes.sas = function()
{
var keywords = &#039;proc run by data&#039;;

};
 
SyntaxHighlighter.brushes.sas.prototype = new SyntaxHighlighter.Highlighter();
SyntaxHighlighter.brushes.sas.aliases = [&#039;SAS&#039;, &#039;.sas&#039;, &#039;sas&#039;];
[/code]

shBrushSAS.js is inside the syntaxhighlter-sas directory with the .php file.</description>
		<content:encoded><![CDATA[<p>For some reason, I&#8217;m not getting any syntax highlight nor any sort of errors.   Any thoughts?</p>
<p>Plugin Code:</p>
<pre class="brush: plain; title: ; notranslate">
&lt;?php
/*
Plugin Name: SyntaxHighlighter Evolved: SAS Brush
Description: Adds support for the SAS Language
Author: ProcRun
Version: 0.1
Author URL: <a href="http://www.procrun.com" rel="nofollow">http://www.procrun.com</a>
*/

// SyntaxHighlighter Evolved doesn't do anything until early in the &quot;init&quot; hook, so best to wait until after that
add_action( 'init', 'syntaxhighlighter_sas_regscript' );

// Tell SyntaxHighlighter Evolved about this new language/brush
add_filter( 'syntaxhighlighter_brushes', 'syntaxhighlighter_sas_addlang' );

// Register the brush file with WordPress
function syntaxhighlighter_sas_regscript() {
    wp_register_script( 'syntaxhighlighter-brush-sas', plugins_url( 'syntaxhighlighter-sas/shBrushSAS.js'), array('syntaxhighlighter-core'), '1.2.3' );
}

// Filter SyntaxHighlighter Evolved's language array
function syntaxhighlighter_sas_addlang( $brushes ) {
    $brushes['sas'] = 'sas';
    $brushes['SAS'] = 'sas';

    return $brushes;
}

?&gt;
</pre>
<p>Actual brush:</p>
<pre class="brush: plain; title: ; notranslate">
SyntaxHighlighter.brushes.sas = function()
{
var keywords = 'proc run by data';

};

SyntaxHighlighter.brushes.sas.prototype = new SyntaxHighlighter.Highlighter();
SyntaxHighlighter.brushes.sas.aliases = ['SAS', '.sas', 'sas'];
</pre>
<p>shBrushSAS.js is inside the syntaxhighlter-sas directory with the .php file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SyntaxHighlighter??Brush?????DOS ???????? &#124; ???????????</title>
		<link>http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/adding-a-new-brush-language/comment-page-1/#comment-234978</link>
		<dc:creator>SyntaxHighlighter??Brush?????DOS ???????? &#124; ???????????</dc:creator>
		<pubDate>Fri, 09 Sep 2011 23:58:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.viper007bond.com/?page_id=1199#comment-234978</guid>
		<description>[...] ???Adding A New Brush (Language) [...]</description>
		<content:encoded><![CDATA[<p>[...] ???Adding A New Brush (Language) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ElectroNick</title>
		<link>http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/adding-a-new-brush-language/comment-page-1/#comment-234781</link>
		<dc:creator>ElectroNick</dc:creator>
		<pubDate>Mon, 15 Aug 2011 03:50:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.viper007bond.com/?page_id=1199#comment-234781</guid>
		<description>Alex, before I go I wanted to mention that pretty much none of your links to alexgorbatchev.com work. There must have been some serious site restructuring and the URLs have changed. The proper page for the custom brush documentation is here: http://alexgorbatchev.com/SyntaxHighlighter/manual/brushes/custom.html

Cheers!</description>
		<content:encoded><![CDATA[<p>Alex, before I go I wanted to mention that pretty much none of your links to alexgorbatchev.com work. There must have been some serious site restructuring and the URLs have changed. The proper page for the custom brush documentation is here: <a href="http://alexgorbatchev.com/SyntaxHighlighter/manual/brushes/custom.html" rel="nofollow">http://alexgorbatchev.com/SyntaxHighlighter/manual/brushes/custom.html</a></p>
<p>Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ElectroNick</title>
		<link>http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/adding-a-new-brush-language/comment-page-1/#comment-234780</link>
		<dc:creator>ElectroNick</dc:creator>
		<pubDate>Mon, 15 Aug 2011 03:43:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.viper007bond.com/?page_id=1199#comment-234780</guid>
		<description>The instructions are a bit easier to follow if you look at the general logic of WordPress plugins, the way you register scripts and themes. I agree, it&#039;s probably a bit difficult if you jump straight into it without prior JS, CSS and PHP programming experience. But if you have at least some knowledge of these three, there&#039;s enough information on this page alone (both the post and the comments) to get a pretty good idea about how this works.
I also needed a custom brush and a custom theme for my project and was able to do both. My plugin is for highlighting Arduino code in listings of the Arduino IDE sketches. It&#039;s published here http://elabz.com/arduino-syntaxhighlighter/ and hope it will be available on Wordpress.org soon, too. You&#039;re more than welcome to peek inside and  adapt to your own syntax if you like.</description>
		<content:encoded><![CDATA[<p>The instructions are a bit easier to follow if you look at the general logic of WordPress plugins, the way you register scripts and themes. I agree, it&#8217;s probably a bit difficult if you jump straight into it without prior JS, CSS and PHP programming experience. But if you have at least some knowledge of these three, there&#8217;s enough information on this page alone (both the post and the comments) to get a pretty good idea about how this works.<br />
I also needed a custom brush and a custom theme for my project and was able to do both. My plugin is for highlighting Arduino code in listings of the Arduino IDE sketches. It&#8217;s published here <a href="http://elabz.com/arduino-syntaxhighlighter/" rel="nofollow">http://elabz.com/arduino-syntaxhighlighter/</a> and hope it will be available on WordPress.org soon, too. You&#8217;re more than welcome to peek inside and  adapt to your own syntax if you like.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arduino Code Syntax Highlighting Plugin for your WordPress Blog</title>
		<link>http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/adding-a-new-brush-language/comment-page-1/#comment-234758</link>
		<dc:creator>Arduino Code Syntax Highlighting Plugin for your WordPress Blog</dc:creator>
		<pubDate>Sun, 14 Aug 2011 04:14:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.viper007bond.com/?page_id=1199#comment-234758</guid>
		<description>[...] &#8220;brush&#8221;) required writing yet another mini-plugin for WordPress but Alex provided ample instructions for adding a new brush and here is what came out of my [...]</description>
		<content:encoded><![CDATA[<p>[...] &#8220;brush&#8221;) required writing yet another mini-plugin for WordPress but Alex provided ample instructions for adding a new brush and here is what came out of my [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anthony Victorio</title>
		<link>http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/adding-a-new-brush-language/comment-page-1/#comment-234371</link>
		<dc:creator>Anthony Victorio</dc:creator>
		<pubDate>Tue, 07 Jun 2011 07:21:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.viper007bond.com/?page_id=1199#comment-234371</guid>
		<description>Thanks Eric!  I was able to put a brush plugin together to highlight the Salesforce apex &amp; visualforce syntax.  If anyone is interested the post is here: http://www.anthonyvictorio.com/salesforce/syntax-highlighter/</description>
		<content:encoded><![CDATA[<p>Thanks Eric!  I was able to put a brush plugin together to highlight the Salesforce apex &amp; visualforce syntax.  If anyone is interested the post is here: <a href="http://www.anthonyvictorio.com/salesforce/syntax-highlighter/" rel="nofollow">http://www.anthonyvictorio.com/salesforce/syntax-highlighter/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Salesforce Apex &#38; VisualForce Syntax Highlighter for Wordpress</title>
		<link>http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/adding-a-new-brush-language/comment-page-1/#comment-234370</link>
		<dc:creator>Salesforce Apex &#38; VisualForce Syntax Highlighter for Wordpress</dc:creator>
		<pubDate>Tue, 07 Jun 2011 06:45:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.viper007bond.com/?page_id=1199#comment-234370</guid>
		<description>[...] Eric Santiago on his version of a Visualforce Syntax Highlighter for Typepad and a post by Alex on adding new brushes to Syntax Highlighter Evolved I was able to put together a WordPress plugin that works alongside the SyntaxHighlighter Evolved [...]</description>
		<content:encoded><![CDATA[<p>[...] Eric Santiago on his version of a Visualforce Syntax Highlighter for Typepad and a post by Alex on adding new brushes to Syntax Highlighter Evolved I was able to put together a WordPress plugin that works alongside the SyntaxHighlighter Evolved [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Golang Brush for SyntaxHighlighter Evolved &#124; El Pingüinario de Luis Iván</title>
		<link>http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/adding-a-new-brush-language/comment-page-1/#comment-234341</link>
		<dc:creator>Golang Brush for SyntaxHighlighter Evolved &#124; El Pingüinario de Luis Iván</dc:creator>
		<pubDate>Wed, 01 Jun 2011 20:06:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.viper007bond.com/?page_id=1199#comment-234341</guid>
		<description>[...] to post Golang code in this blog without worrying about the syntax highlightenment, so I read http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/adding-a-new-brush-language and created a plugin that contains the Golang Brush created by Allister [...]</description>
		<content:encoded><![CDATA[<p>[...] to post Golang code in this blog without worrying about the syntax highlightenment, so I read http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/adding-a-new-brush-language and created a plugin that contains the Golang Brush created by Allister [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

