If you usually using blog (Windows Live, Blogger, Wordpress, TypePad...) and you're a developer you will need a very useful plugin for your blog is SyntaxHighlighter.


Customize your Options:

.png)
How to Use
1. Your Blog Space Settings
1. Upload the SyntaxHighlighter files on your weblog space.
- dp.SyntaxHighlighter/Scripts
- dp.SyntaxHighlighter/Styles
2. Add JavaScript and CSS to your weblog page.
- <link type="text/css" rel="stylesheet" href="Styles/SyntaxHighlighter.css"></link>
- <script language="javascript" src="Scripts/shCore.js"></script>
- <script language="javascript" src="Scripts/shBrushCSharp.js"></script>
- <script language="javascript">
- window.onload = function() {
- dp.SyntaxHighlighter.ClipboardSwf = 'Scripts/clipboard.swf';
- dp.SyntaxHighlighter.HighlightAll('code');
- };
- </script>
<link type="text/css" rel="stylesheet" href="Styles/SyntaxHighlighter.css"></link>
<script language="javascript" src="Scripts/shCore.js"></script>
<script language="javascript" src="Scripts/shBrushCSharp.js"></script>
<script language="javascript">
window.onload = function() {
dp.SyntaxHighlighter.ClipboardSwf = 'Scripts/clipboard.swf';
dp.SyntaxHighlighter.HighlightAll('code');
};
</script>
shCore.js is necessary. You can add only other shBrush{language name}.js that needed.
2. Windows Live Writer Settings
- Install the SyntaxHighlighter for Windows Live Writer plugin.
- Update weblog style. You can update style from menu "Weblog"-"Edit Weblog Settings..." and "Editing" tab.
3. How to Insert Code
- You can insert code from sidebar or menubar.
Supports language: C, C++, C#, CSS, Delphi, HTML, Java, JavaScript, PHP, Pascal, Python, Ruby, SQL, VB, VB.NET, XML, XSLT.
Download the last version here.
Goodluck! ;))

f26b42db-c608-4163-9e9d-b533de5f03da|2|5.0