There exist different ways for highlight sourcecode with pygments:
example:
result:
Info:
PyLucid has a creole markup macro for highlighting:
<<code ext=.FOO>>...<</code>>
(Where FOO is the fileextension of the sourcecode)
example:
<<code ext=.css>>
.xs {font-family:verdana,arial,helvetica,sans-serif;font-size: x-small}
.m {font-size: medium}
<</code>>
output is:
Important:
You can generate html code for copy&paste into page content with:
E.g.: with Creole markup, put the generated html code into:
<<html>>...<</html>>
Info:
django-processinfo: 5.0 ms of 241.1 ms (2.1%)