Changes between Version 2 and Version 3 of WikiProcessors


Ignore:
Timestamp:
Jun 8, 2011, 7:42:05 PM (13 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiProcessors

    v2 v3  
    1313
    1414{{{
     15{{{
    1516#!html
    16 <pre class="wiki">{{{
    17 #!html
    18 &lt;h1 style="color: orange"&gt;This is raw HTML&lt;/h1&gt;
    19 }}}</pre>
     17<h1 style="color: orange">This is raw HTML</h1>
     18}}}
    2019}}}
    2120
     
    3332
    3433{{{
    35 #!html
    36 <pre class="wiki">{{{
     34{{{
    3735#!rst
    3836A header
     
    4139
    4240.. [*] This is the footnote.
    43 }}}</pre>
     41}}}
    4442}}}
    4543
     
    5755
    5856{{{
    59 #!html
    60 <pre class="wiki">{{{
     57{{{
    6158#!c
    6259int main(int argc, char *argv[])
     
    6562  return 0;
    6663}
    67 }}}</pre>
     64}}}
    6865}}}
    6966
     
    7976
    8077----
     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----
    81120
    82121== Available Processors ==
     
    87126 * '''rst''' -- Trac support for Restructured Text. See WikiRestructuredText.
    88127 * '''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.
    90130
    91131=== Code Highlighting Support ===
     
    93133 * '''c''' -- C
    94134 * '''cpp''' -- C++
     135 * '''csharp''' --- C#
    95136 * '''python''' -- Python
    96137 * '''perl''' -- Perl
     
    120161}}}
    121162
    122 The same is valid for all other mime types supported.
     163The same is valid for all other [TracSyntaxColoring#SyntaxColoringSupport mime types supported].
    123164
    124165