Hi Everyone-<br><br>John Bohren was nice enough to write the new GetCode macro for displaying code in the wiki for tutorials and the like. <br><br>The macro takes the uri of the code, the language parser tag, and optional line # arguments:<br>
<pre style="font-family: arial,helvetica,sans-serif;"><font size="2"><<GetCode(<a href="https://code.ros.org/svn/wg-ros-pkg/stacks/executive_python/trunk/smach_tutorials/examples/01.py,#!python">https://code.ros.org/svn/wg-ros-pkg/stacks/executive_python/trunk/smach_tutorials/examples/01.py,#!python</a>)>><br>
<br>or<br></font></pre><font style="font-family: arial,helvetica,sans-serif;" size="2"></font><pre style="font-family: arial,helvetica,sans-serif;"><font size="2"><<GetCode(<a href="https://code.ros.org/svn/wg-ros-pkg/stacks/executive_python/trunk/smach_tutorials/examples/01.py,#!python,12,16">https://code.ros.org/svn/wg-ros-pkg/stacks/executive_python/trunk/smach_tutorials/examples/01.py,#!python,12,16</a>)>></font></pre>
<br>Check out the WikiMacros page for more information: <a href="http://www.ros.org/wiki/WikiMacros">http://www.ros.org/wiki/WikiMacros</a> <br><br>-Melonee<br clear="all"><br>-- <br>Senior Engineer<br>Willow Garage<br>68 Willow Rd.<br>
Menlo Park, Ca 94025<br>