One of the strengths of Community Server is the available modules, themes etc. we can use. To that end I have added the CodeHighlight CSModule (http://communityserver.org/files/folders/csmodules/entry577311.aspx) to make it easier for people to post formatted code. Instructions are below. No PowerShell support currently although it looks fairly easy to update the Definitions.xml file supplied with the module.
In order to use the code highlighting in your posts use the tags structure [ code language="language name"] [ /code] in a post's body without the space between the opening square brackets and the code or /code text - the space is their in the example to prevent the code highlighter formating the example.
Languages supported: ASPX, C, C++, C#, COBOL, Eiffel, Fortan, Haskell, HTML, Java, Javascript, Mercury, MSIL, Pascal, Perl, PHP, Python, Ruby, SQL, Visual Basic, VBScript, VB.NET, XML.
Make sure that the code pasted in your post, has no previous formating - copy the code to notepad first and then to the post's body in order to remove formating.