[Freeswitch-dev] FreeSWITCH Wiki Update: Syntax Highlighting Now Available!

Abaci abaci64 at gmail.com
Mon Mar 26 22:12:44 MSD 2012


seems like it's ignoring the 'blockquote' now.
see http://wiki.freeswitch.org/wiki/Dialplan_XML#Anatomy_of_the_XML_Dialplan
On 3/23/2012 12:55 PM, Michael Collins wrote:
> Hey all,
>
> Hat tip to David Knell for figuring out how to get the GeSHi syntax 
> highlighting to work on wiki.freeswitch.org 
> <http://wiki.freeswitch.org>! If you'd like to have syntax 
> highlighting on a snippet of code just do this:
>
> <source lang="{lang}">
> ...code...
> </source>
>
> Languages include: c, perl, python, xml, lua, etc.
>
> Example:
> <source lang="xml">
> <extension name="test ext">
> <condition field="destination_number" expression="^(1234)$">
> <action application="answer"/>
> <action application="log" data="INFO Thanks David!!"/>
> <action application="hangup"/>
> </condition>
> </extension>
> </source>
>
> I added the basic information to this page on the wiki: 
> http://wiki.freeswitch.org/wiki/Documentation_Guidelines#Wiki_Markup
>
> If you would like a non-glamorous but useful task to do: feel free to 
> edit each code sample you see to have the <source> tag with the 
> appropriate language. Also, if there are any GeSHi warriors out there 
> who could write a FreeSWITCH Log syntax highlighter module I'm sure 
> that would be welcomed. :)
>
> Thanks again!
> -Michael
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20120326/0bd6cadd/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-dev mailing list