Quick Syntax Highlighting
Posted August 31st, 2010 by RGerkin
This is a non-standard use of the Snippets section and should probably be disregarded.
Use this node to paste arbitrary code in between the igor tags, for the purposes of syntax highlighting Igor code, for use in copying and pasting into emails and anything else that will accept html. Ideally, do not actually submit changes to this code; just preview them with the "Preview" button, select the syntax-highlighted code, and move on.
// Arbitrary code is placed here. 
You still need the CSS
You still need the CSS styles to get the colors right though, so I don't see how this is very useful.
Quote:You still need the CSS
When you copy from a web page on Safari Macintosh and Internet Explorer on Windows, RTF is stored in the clipboard so the CSS is no longer needed. You can paste into any program that understands RTF on the clipboard (Igor does not).
Ah..interesting. Firefox
Ah..interesting. Firefox doesn't seem to have this "feature" so I had no idea.
Chrome works, too. I'd use
Chrome works, too. I'd use this for the mailing list, but it would just strip the attachment, I think. I've started to use it for sending code in emails to individuals, though.