cnblog code syntaxhighlighter view
wlw代码插件
测试多款 wlw插入代码插件 在博客园的代码高亮效果
1.Code Snippet
1: public override void Update()
2: {
3: base.Update();
4: }
5:
6: public virtual void Standup()
7: {
8: SetState(CCharacterState.Idle);
9: }
2.Insert Code
1: public override void Update()
2: {
3: base.Update();
4: }
5:
6: public virtual void Standup()
7: {
8: SetState(CCharacterState.Idle);
9: }
3.PreCode Snippet
public override void Update() { base.Update(); } public virtual void Standup() { SetState(CCharacterState.Idle); }
4.CodeFormatterPlugin
1 publicoverridevoid Update() 2 { 3 base.Update(); 4 } 5 6 publicvirtualvoid Standup() 7 { 8 SetState(CCharacterState.Idle); 9 }
5.博客园官方代码插件
public override void Update() { base.Update(); } public virtual void Standup() { SetState(CCharacterState.Idle); }
//注:该插件基于Windows Live Writer Source Code plugin for SyntaxHighlighter(http://sourcecodeplugin.codeplex.com/)的代码修改而成。