SyntaxHighlighter Wrapper CSModule 2.0 in CommunityServer 2008.5

by dmwc 19. January 2010 04:23

At several ago , Serge B. send a mail want release SyntaxHighlighter Wrapper CSModule source code and will help update to dp.SyntaxHighlighter 2.0 .

But many many day ago , I already wrote a CSModule for dp.SyntaxHighlighter 2.0 of this time they a not freeware.But they are freeware now.

I recheck the CSModule and fix backward compatibility , upgrade tiny_mce plugins. Now it release!!

You can use SyntaxHighlighter Wrapper CSModule 2.0 with dp.SyntaxHighlighter 2.x . This CSModule will automatic load CSS and needs Javascipt to do SyntaxHighlighter.

 

The zip file include :
1. SyntaxHighlighter Wrapper CSModule 2.0
2. SyntaxHighlighter 2.1.364 (October 15 2009)
3. SyntaxHighlighter, TinyMCE et YML ( Modify for CommunityServer )
4. Source Code

Download it : http://update.to/cs/SyntaxHighlighter/CommunityServer.SyntaxHighlighterWrapper20.zip

Tags:

CodeHighlight for CommunityServer | SyntaxHighlighter

SyntaxHighlighter Wrapper CSModule 1.1

by Administrator 10. March 2009 05:29

The SyntaxHighlighter CSModule 1.1 is release .

This version not only a small patch , also include syntaxhl tiny_mce plugins.

Original syntaxhl tiny_mce plugins is wrtten by Richard Grundy , this plugins can help insert code into editor.

 

Download it : SyntaxHighlighter CSModule 1.1

Tags:

CodeHighlight for CommunityServer | CommunityServer

Syntax Highlighter Wrapper CSModule for CommunityServer 2008.5

by Administrator 12. October 2008 06:27

dp.SyntaxHighlighter is a popular Syntax Highlighter engine.

It's use  javascript and CSS for syntax highlighter and easy use in every system. But CommunityServer  is not allow use <p name="xxx" class="xxx" > in default setting. Have two way use  dp.SyntaxHighlighter in CommunityServer.

  • Way 1: Edit CommunityServer.config , change <p dir = "true" /> to <p name="true" class="true" dir = "true" /> in <MakeUp></MakeUp> , and add all javascipt and css in themes.
  • Way 2: Write a CSModule , because CSModule is allow use any HTML.

I wrote a  Syntax Highlighter Wrapper CSModule for CommunityServer 2008.5 ( Wiki support )

You just needs add this CSModule in CommunityServer.config , and no require add javascript and css in theme. This CSModule will load needs javascript in page.

SyntaxHighlighter CSModule

 

Download :

Binary : CommunityServer.SyntaxHighlighterWrapper10.zip

Tags:

CodeHighlight for CommunityServer

CS2008.5 Code highlight CSModule

by Administrator 17. September 2008 20:48

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/

Tags: ,

CodeHighlight for CommunityServer

Powered by BlogEngine.NET 1.6.1.0
Theme by Extensive SEO

About the site

Update.to is design by Ruri software.

 

This site support software information and download of Ruri software.

 

Most software are "Free" and you can direct download it ( no register and no sign anything )

ADBanner