This project is read-only.


This project allows you to enable syntax highlighting of source code samples in your blog posts using Alex Gorbatchev's SyntaxHighlighter. The project has two parts SyntaxHighligher for BlogEngine.NET and SourceCodePlugin for Windows Live Writer.

SyntaxHighligter for BlogEngine.NET

This part of the project allows you to integrate an updated SyntaxHighlighter with the BlogEngine.NET system ( The highligter is based on Alex Gorbatchev's code ( with a couple of updates:

Product: SyntaxHighlighter
Author: Alex Gorbatchev
Version: 3.0.83

Updates from Alex's code:
*added FSharp script
*updated PowerShell script


Sample F# code (this is a snippet from Tutorial.fs):

Sample PowerShell code:

SourceCode plugin for Windows Live Writer

This part of the project add a SourceCode plug-in into Windows Live Writer to enable inserting code into your blog posts in a form compatible with SyntaxHighlighter.

To insert a code, click on Source code plug-in... item in Insert ribbon tab. The plug-in will use the currently selected text or (when configured accordingly) take the text from the clipboard.


You can tweak the behavior of the plug-in by clicking Options button to update plug-in options. All values that you enter in this options dialog will be saved for future use (you don’t have to enter the same configuration over and over again).



Follow the steps mentioned bellow. SyntaxHighligter

  • Copy content of Blog.SyntaxHighlighter folder into your web blog folder.
  • Go to the blog Administration page and make sure that SyntaxHighlighter extension is enabled and correctly configured (you can define rendering defaults there)

WindowsLiveWriter SourceCode plugin

  • Copy WindowsLiveWriter.SourceCode.dll into your Windows Live Writer plugin folder:
    • 32-bit systems: C:\Program Files\Windows Live\Writer\Plugins
    • 64-bit systems: C:\Program Files (x86)\Windows Live\Writer\Plugins


For more information see:


You can download current release and the source code from

Last edited Feb 25, 2011 at 1:06 AM by dpokluda, version 12