Note: I posted this on stack overflow but couldn't get an answer. I am trying it here.
I have files that are in urdf
[Unified Robot Description Format] for ROS
and sdf
[Simulation Description Format] for gazebo
. URDF is xml
but Github only shows it in black. How can I get Github to show syntax highlighting on the file? Can I do this for any file extension including a missing extension?
NOTE: I am not referring to comments in markdown so back ticks don't apply.
<sdf version='1.6'>
<world name='default'>
<include>
<uri>model://ground_plane</uri>
</include>
<include>
<pose frame=''>0 0 30 0 0 0</pose>
<uri>model://robot</uri>
</include>
...
</world>
</sdf>
Stack Overflow's syntax highlighting seems to get it.