With the SourceCode Plugin you can integrate the source code of a local file into your CMS page.
Example tag:
Note: With the <code>-Tag you can directly put highlight source code into your CMS page, look at <code>-Tag
PyLucid used the Python syntax highlighter Pygments . It supports an ever-growing range of languages, look at: http://pygments.pocoo.org/docs/lexers/
Use <code=ext>...</code> and PyLucid used Pygments to highlight it.
'ext' is the typical fileextension/alias, please look at:
<code=css>
.xs {font-family:verdana,arial,helvetica,sans-serif;font-size: x-small}
.m {font-size: medium}
</code>
result:
Here a "error" example:
permalink