XNA, Managed DirectX and Game Programming

Community Server Code Highlighting and Word 2007

Over the weekend I installed the Code Highlighting system into my Community Server install, the install went through fine. The good thing about this module is that it works across all of the different modules in Community server, and to use it you just have to put some simple BBCode like tags around the code block.

But what I still need to do is test the system by posing from word 2007.

So here is a sample code block using the Community Server Code Highlighting Mod.

[code language="C#"]

public Game1()

{

graphics = new GraphicsDeviceManager(this);

content = new ContentManager(Services);

}

[/code]

Ok after posting and checking how it went, it looks like the code highlighter and Word 2007 do not play nice, The block should look like the following.

[code language="C#"]        public Game1()
        {
            graphics = new GraphicsDeviceManager(this);
            content = new ContentManager(Services);
        }
[/code]

For the time being I might have to use the web interface for code posting, or have a look at the new release of Live Writer.

Cross Post from www.virtualrealm.com.au
Leave a Comment

(required) 

(required) 

(optional)

(required)