[ros-users] New ros.org GetCode macro

Melonee Wise mwise at willowgarage.com
Thu Jul 15 00:25:17 UTC 2010


Hi Everyone-

John Bohren was nice enough to write the new GetCode macro for displaying
code in the wiki for tutorials and the like.

The macro takes the uri of the code, the language parser tag, and optional
line # arguments:

<<GetCode(https://code.ros.org/svn/wg-ros-pkg/stacks/executive_python/trunk/smach_tutorials/examples/01.py,#!python)>>

or

<<GetCode(https://code.ros.org/svn/wg-ros-pkg/stacks/executive_python/trunk/smach_tutorials/examples/01.py,#!python,12,16)>>


Check out the WikiMacros page for more information:
http://www.ros.org/wiki/WikiMacros

-Melonee

-- 
Senior Engineer
Willow Garage
68 Willow Rd.
Menlo Park, Ca 94025
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/ros-users/attachments/20100714/b354f6df/attachment-0002.html>
-------------- next part --------------
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
-------------- next part --------------
_______________________________________________
ros-users mailing list
ros-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ros-users


More information about the ros-users mailing list