Sign in

Google Wave APIs (Labs)

WaveProtocol.org

Learn about the Google Wave Federation Protocol and get involved

Sample Details

Syntaxy

By: Katie Bell - Jul 15, 2009

Syntaxy does blip-by-blip syntax highlighting for a variety of languages including Python, Java, C, C++, html, css and javascript.

Uses the Pygments syntax highlighting library.

Robot Address: kasyntaxy@appspot.com 

Note: This sample uses the old robots API. It may be useful to you for learning architecture and API-independent techniques, but it is not a good resource for learning API usage.


APIs: Robots

Languages: Python

Tags: syntaxy robot code highlighting

*Live demos require Wave Sandbox access to view

Comments (26)

Title

Comments

Your name

 

Please make sure your comments are useful and informative.

File?  

I saw in the source cod the following comment: """Highlight a blip if we find a filename or #!Language""" does this mean we can specify a file for code highlighting rules? If so, how do we do this? I can't find usage documentation on this feature anywhere.

problem with java  

hi all i don't if it is my problem only this robot don't work good in java it may highlight or not it isn't stable :( please try to solve it

Awesome!  

But you know what would be even more awesome, PHP support!

Support for Markdown and other text-based markup languages?  

It would be remarkably helpful if this or some other extension would allow Google Wave to do syntax coloring for Markdown, Textile, and other similar markup languages that are commonly used as the source for blog posts and other content management systems. As it is, collaboration in Google Wave requires copying the text out and do more markup in another editor before posting.

Where is the installing url??  

Has it been removed or something?