CommunityServer 2008.5 is release in 2008/9/15 , and they have a new Wiki system.
My CS2008 Code highlight CSModule ver:1.2 is not support highlight wiki , because Wiki not use csa.PrePostUpdate for formating context.
I make a small update for Wiki.
1
2
3
4
5
6
|
public void Init(CSApplication csa, XmlNode node)
{
csa.PrePostUpdate += new CSPostEventHandler(csa_PrePostUpdate);
WikiEvents.BeforeAddPage += new PageEventHandler(WikiEvents_BeforeUpdatePage);
WikiEvents.BeforeUpdatePage += new PageEventHandler(WikiEvents_BeforeUpdatePage);
} |
And add a default format in code , it mean you don't needs modify web.config if you don't want change format.
Download 1.3 : CommunityServer2008.5.CodeHighlight_1_3.zip
Project page : http://update.to/cs/codehighlight/