Blog Stats
  • Posts - 157
  • Articles - 0
  • Comments - 90
  • Trackbacks - 19

 

Code Highlight plug-in for Windows Live Writer

Christoph De Baene is currently working on a plugin for Windows Live Writer that will enable you to add syntax colored blocks of code. This post is me testing this plugin and I must say that this is a must have plugin, you will definitely like it!

public class TagContentSource : ContentSource { public override DialogResult CreateContent(IWin32Window dialogOwner, ref string newContent) { using (InsertTags tagForm = new InsertTags(new TagContext(base.Options))) { DialogResult formResult = tagForm.ShowDialog(); if (formResult == DialogResult.OK) { TagContext context = new TagContext(base.Options); context.TagListTemplate = tagForm.TagListTemplate; context.TagTemplate = tagForm.TagTemplate; context.TagTemplateType = tagForm.TagTemplateType; newContent = tagForm.GetTags(); } return formResult; } }
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Feedback

No comments posted yet.


Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification:
 
 

 

 

Copyright © Gabriel Lozano-Morán