Edgewall Software

Changes between Version 3 and Version 4 of WikiProcessors


Ignore:
Timestamp:
Apr 29, 2004, 10:26:38 PM (20 years ago)
Author:
daniel
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • WikiProcessors

    v3 v4  
    4848.. [*] This is the footnote.
    4949}}}
     50----
     51'''Example 3''' (''inserting a block of C source code in wiki text''):
     52
     53{{{
     54#!html
     55<pre class="wiki">{{{
     56#!c
     57int main(int argc, char *argv[])
     58{
     59  printf("Hello World\n");
     60  return 0;
     61}
     62}}}</pre>
     63}}}
     64
     65'''Results in:'''
     66{{{
     67#!c
     68int main(int argc, char *argv[])
     69{
     70  printf("Hello World\n");
     71  return 0;
     72}
     73}}}
     74
     75----
    5076
    5177
    52 ----
     78
    5379== Available Processors ==
    5480The following processors are included in the Trac distribution:
    5581 * '''html''' -- Insert custom HTML in a wiki page. See WikiHtml.
    5682 * '''rst''' -- Trac support for Restructured Text. See WikiRestructuredText.
     83
     84=== Source Code Support ===
     85Trac includes processors to provide inline [wiki:SyntaxColoring syntax highlighting] for these languages:
     86 * '''c''' -- C
     87 * '''cpp''' -- C++
     88 * '''python''' -- Python
     89 * '''perl''' -- Perl
     90 * '''ruby''' -- Ruby
     91 * '''php''' -- PHP
     92 * '''asp''' --- ASP
     93 * '''sql''' -- SQL
     94 * '''xml''' -- XML
     95'''Note:''' ''Trac relies on external software packages for syntax coloring. See SyntaxColoring for more info.''
     96
    5797
    5898For more processor macros developed and/or contributed by users, visit the processor bazaar:
     
    73113
    74114----
    75 See also: WikiMacros, WikiHtml, WikiRestructuredText, WikiFormatting, TracGuide
     115See also: WikiMacros, WikiHtml, WikiRestructuredText, SyntaxColoring, WikiFormatting, TracGuide