| 17 | | <p>Changes to the original creole specs:<br /> |
| | 17 | <h3>Creole Additions/Macros</h3> |
| | 18 | <ul> |
| | 19 | <li><b>source code:</b><br /> |
| | 20 | You can insert sourcecode: |
| | 21 | Use <strong><tt><<code ext=<i>.EXT</i>>>...<</code>></tt></strong> |
| | 22 | and PyLucid used Pygments (if available) to highlight it.<br /> |
| | 23 | '<strong>.EXT</strong>' is the typical <a href="http://pygments.pocoo.org/docs/lexers/">fileextension/alias</a> of the code. |
| | 24 | </p> |
| | 25 | <p>example:</p> |
| | 26 | <pre> |
| | 27 | <<code ext=.css>> |
| | 28 | /* CSS Stylesheet */ |
| | 29 | .xs {font-family:verdana,arial,helvetica,sans-serif;font-size: x-small} |
| | 30 | .m {font-size: medium} |
| | 31 | <</code>> |
| | 32 | </pre> |
| | 33 | </li> |
| | 34 | <li><b>html code:</b><br /> |
| | 35 | You can insert html code. But it will only pass-through without extra |
| | 36 | decoration if all lines starts and ends with a normal html tag! Otherwise the code would be escaped.<br /> |
| | 37 | There exist also a macro to pass everything throught: <strong><tt><<html>>...<</html>></tt></strong> |
| | 38 | </li> |
| | 39 | </ul> |
| | 40 | |
| | 41 | <h3>Changes to the original creole specs:</h3> |