Hey all,
Hat tip to David Knell for figuring out how to get the GeSHi syntax highlighting to work on 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