WaveCalender 5: Wave Code Prettifier

In wave you would often like to show some code to get some feed back on it. A gadget which can help with it is wave code prettifier by Milan Andrejevic . It is a gadget you can put into your Wave and you can then get formatted code in your wave.
The code gets highlighted as you type. The language is determinate automatically, or you can overwrite the control.

The gadget XML can be found hire.

codeprettyfier

You can enter you non formatted text on the top in the small window, and then the formatted text will be showed in the button panel. The buttum panel will be expanded as a result of data typed.

When you type something data is directly shared to the other users. If you type fast on a large text you are sometime send to the buttom of the field and complete the text at the end.

I would also like to see that gadget to have difference between edit mode and view mode. That way you would only see the formatted text as an ordinary user.

The gadget is written in Javascript and Jquery and uses a lot of standard libraries for code highlighting. The code in the gadget is only 29 lines. That is impressive.

Bookmark and Share

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

3 comments ↓

#1 Brett on 12.06.09 at 02:02

Very impressive for only 29 lines of code. This will definitely come in handy when you’re trying to share or get feedback on code.

#2 David Cook on 12.09.09 at 02:49

This gadget I mentioned to the Project Management Group as a gadget that will be so useful for a project and has nothing to do with pure PM.

#3 WaveCalender 2: Poll Gadget – 1st Edition | Google Wave | Google Wave Invitations | Google Wave Invites | Google Wave Sandbox on 12.10.09 at 01:43

[...] WaveCalender 5: Wave Code Prettifier In wave you would often like to show some code… [...]

Leave a Comment

Powered by WP Hashcash