Do you know that web2py include a syntax highlighter for python,
web2py, html, C/C++/Java?
{{prg="for i in range(10): print i}}
{{=CODE(prg,language="python")}}
language can be "python", "web2py", "html" (assumed embedded web2py),
"html_plain", "c", or "cpp".
Massimo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---