Project Description

SyntaxHighlighter for Windows Live Writer is a plugin that inserts code with tags for SyntaxHighlighter. This plugin includes resource of ja-JP(Japan language).

Screenshots

Windows Live Writer.png

Insert window:
Code.png

Plugin options:
SyntaxHighlighter Options.png

SyntaxHighlighter Options (2).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>

shCore.js is necessary. You can add only other shBrush{language name}.js that needed.

2. Windows Live Writer Settings

  1. Install the SyntaxHighlighter for Windows Live Writer plugin.
  2. Update weblog style. You can update style from menu "Weblog"-"Edit Weblog Settings..." and "Editing" tab.

3. How to Insert Code

  1. You can insert code from sidebar or menubar.

Last edited Dec 18, 2008 at 1:25 PM by jz5, version 12