Show
Ignore:
Timestamp:
09/22/08 15:40:45 (18 months ago)
Author:
JensDiemer
Message:

add macro function to creole markup

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pylucid_project/media/PyLucid/internal_page/page_admin/markup_help_creole.html

    r1769 r1771  
    1515<hr /> 
    1616 
    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>&lt;&lt;code ext=<i>.EXT</i>&gt;&gt;...&lt;&lt;/code&gt;&gt;</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&lt;&lt;code ext=.css&gt;&gt; 
     28/* CSS Stylesheet */ 
     29.xs {font-family:verdana,arial,helvetica,sans-serif;font-size: x-small} 
     30.m {font-size: medium} 
     31&lt;&lt;/code&gt;&gt; 
     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>&lt;&lt;html&gt;&gt;...&lt;&lt;/html&gt;&gt;</tt></strong> 
     38</li> 
     39</ul> 
     40 
     41<h3>Changes to the original creole specs:</h3> 
    1842<ul> 
    1943<li><b>image tag:</b><br /> 
     
    3256    (every \n would be convertet into &lt;br /&gt;) 
    3357</li> 
    34 <li><b>html code:</b><br /> 
    35     You can insert html code. But every line must start with &lt; and end with &gt;<br /> 
    36     If the line starts or ends with a other character, the complete line would 
    37     be interpreted as text, so every html characters would be escaped. 
    38 </li> 
    3958<li><b>django tags/blocktags:</b><br /> 
    4059    You can insert django tags and blocktags. No extra decoration is not needed.