[ros-users] New ros.org GetCode macro

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
+ (text/plain)
Delete this message
Reply to this message
Author: Melonee Wise
Date:  
To: ros-users
Subject: [ros-users] New ros.org GetCode macro
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
------------------------------------------------------------------------------
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_______________________________________________
ros-users mailing list

https://lists.sourceforge.net/lists/listinfo/ros-users