Hey all,<br><br>Hat tip to David Knell for figuring out how to get the GeSHi syntax highlighting to work on <a href="http://wiki.freeswitch.org" target="_blank">wiki.freeswitch.org</a>! If you'd like to have syntax highlighting on a snippet of code just do this:<br>
<br><source lang="{lang}"><br>...code...<br></source><br><br>Languages include: c, perl, python, xml, lua, etc.<br><br>Example:<br><source lang="xml"><br> <extension name="test ext"><br>
<condition field="destination_number" expression="^(1234)$"><br> <action application="answer"/><br> <action application="log" data="INFO Thanks David!!"/><br>
<action application="hangup"/><br> </condition><br> </extension><br></source><br><br>I added the basic information to this page on the wiki: <a href="http://wiki.freeswitch.org/wiki/Documentation_Guidelines#Wiki_Markup">http://wiki.freeswitch.org/wiki/Documentation_Guidelines#Wiki_Markup</a><br>
<br>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. :)<br>
<br>Thanks again!<br>-Michael<br><br>