We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSyntax Questions › identing processing code in blog
Page Index Toggle Pages: 1
identing processing code in blog (Read 235 times)
identing processing code in blog
Mar 6th, 2009, 10:59am
 
hi , is there is a way of identing processing code in a word press blog?


thanks


mateo
Re: identing processing code in blog
Reply #1 - Mar 6th, 2009, 12:27pm
 
Not really a syntax (of Processing) question... Well, half of questions there are unrelated to syntax anyway...

See Processing applet in wordpress post, it might help.
Re: identing processing code in blog
Reply #2 - Mar 6th, 2009, 2:12pm
 
If I remember right, there's a pretty good java syntax highlighter implemented with javascript hosted over at google code.  http://code.google.com/p/google-code-prettify/
Re: identing processing code in blog
Reply #3 - Mar 6th, 2009, 2:35pm
 
Ah, is "identing" meaning "indenting"?
If so, two ways for HTML: using & nbsp; entity alternating with regular spaces, to avoid space collapsing; or using <pre> tags (or appropriate CSS sorcery...).

[edit] & nbsp; shown in preview, not in final message... Remove space after & of course
Re: identing processing code in blog
Reply #4 - Mar 7th, 2009, 11:40am
 
i love this one
http://alexgorbatchev.com/wiki/SyntaxHighlighter:Brushes:Java
Page Index Toggle Pages: 1