C++ Syntax Highlighting for GMail

in Ideas and script requests
Subscribe to C++ Syntax Highlighting for GMail 3 posts, 2 voices



MDM User

Hi,

A lot of times I paste C++ code snippets in an email in Gmail and send it off. It would be nice if there was a greasemonkey script or something for firefox that would allow me to select a block of text in a new composition in Gmail and apply custom syntax highlighting to it.

Is there already such a script? If not, is there one in development? Any alternatives? Thanks.

 
Joel H Scriptwright

If you're interested in hacking some javascript yourself, a good place to start may be the syntax highlighting script here:
http://userscripts.org/scripts/show/7982
This only highlights it for the user, not the email recipient, so you'd have to tweak it some.

-Joel

 
MDM User

Thank you for responding. I don't know javascript nor do I have the motivation to learn it. I was hoping something was already made for this purpose. Since there isn't, I hope someone makes one in the future or possibly takes over this task that you've suggested here.