Changes between Version 2 and Version 3 of WikiProcessors
- Timestamp:
- Jun 8, 2011, 7:44:12 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiProcessors
v2 v3 13 13 14 14 {{{ 15 {{{ 15 16 #!html 16 <pre class="wiki">{{{ 17 #!html 18 <h1 style="color: orange">This is raw HTML</h1> 19 }}}</pre> 17 <h1 style="color: orange">This is raw HTML</h1> 18 }}} 20 19 }}} 21 20 … … 33 32 34 33 {{{ 35 #!html 36 <pre class="wiki">{{{ 34 {{{ 37 35 #!rst 38 36 A header … … 41 39 42 40 .. [*] This is the footnote. 43 }}} </pre>41 }}} 44 42 }}} 45 43 … … 57 55 58 56 {{{ 59 #!html 60 <pre class="wiki">{{{ 57 {{{ 61 58 #!c 62 59 int main(int argc, char *argv[]) … … 65 62 return 0; 66 63 } 67 }}} </pre>64 }}} 68 65 }}} 69 66 … … 79 76 80 77 ---- 78 '''Example 4''' (''Searching from a wiki page by custom field. Allows user to reuse most common searches on a wiki page''): 79 80 {{{ 81 {{{ 82 #!html 83 <form action="/query" method="get"> 84 <input type="text" name="keywords" value="~" size="30"> <input type="submit" value="Search by Keywords#"> 85 <!-- To control what fields show up use hidden fields 86 <input type="hidden" name="col" value="id"> 87 <input type="hidden" name="col" value="summary"> 88 <input type="hidden" name="col" value="status"> 89 <input type="hidden" name="col" value="milestone"> 90 <input type="hidden" name="col" value="version"> 91 <input type="hidden" name="col" value="owner"> 92 <input type="hidden" name="col" value="priority"> 93 <input type="hidden" name="col" value="component"> 94 --> 95 </form> 96 }}} 97 }}} 98 99 100 ''' Result:''' 101 {{{ 102 #!html 103 <form action="/query" method="get"> 104 <input type="text" name="keywords" value="~" size="30"> <input type="submit" value="Search by Keywords#"> 105 <!-- To control what fields show up use hidden fields 106 <input type="hidden" name="col" value="id"> 107 <input type="hidden" name="col" value="summary"> 108 <input type="hidden" name="col" value="status"> 109 <input type="hidden" name="col" value="milestone"> 110 <input type="hidden" name="col" value="version"> 111 <input type="hidden" name="col" value="owner"> 112 <input type="hidden" name="col" value="priority"> 113 <input type="hidden" name="col" value="component"> 114 --> 115 </form> 116 }}} 117 118 119 ---- 81 120 82 121 == Available Processors == … … 87 126 * '''rst''' -- Trac support for Restructured Text. See WikiRestructuredText. 88 127 * '''textile''' -- Supported if [http://cheeseshop.python.org/pypi/textile Textile] is installed. See [http://www.textism.com/tools/textile/ a Textile reference]. 89 * '''comment''' -- Do not process the text in this section (i.e. contents exist only in the plain text - not in the rendered page). 128 * '''comment''' -- Do not process the text in this section (i.e. contents exist only in the plain text that can be viewed when editing the wiki page content - not in the rendered page). 129 * '''diff''' -- Pretty print patches and diffs. 90 130 91 131 === Code Highlighting Support === … … 93 133 * '''c''' -- C 94 134 * '''cpp''' -- C++ 135 * '''csharp''' --- C# 95 136 * '''python''' -- Python 96 137 * '''perl''' -- Perl … … 120 161 }}} 121 162 122 The same is valid for all other mime types supported.163 The same is valid for all other [TracSyntaxColoring#SyntaxColoringSupport mime types supported]. 123 164 124 165