Changes between Version 3 and Version 4 of WikiProcessors
- Timestamp:
- Apr 29, 2004, 10:26:38 PM (20 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiProcessors
v3 v4 48 48 .. [*] This is the footnote. 49 49 }}} 50 ---- 51 '''Example 3''' (''inserting a block of C source code in wiki text''): 52 53 {{{ 54 #!html 55 <pre class="wiki">{{{ 56 #!c 57 int 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 68 int main(int argc, char *argv[]) 69 { 70 printf("Hello World\n"); 71 return 0; 72 } 73 }}} 74 75 ---- 50 76 51 77 52 ---- 78 53 79 == Available Processors == 54 80 The following processors are included in the Trac distribution: 55 81 * '''html''' -- Insert custom HTML in a wiki page. See WikiHtml. 56 82 * '''rst''' -- Trac support for Restructured Text. See WikiRestructuredText. 83 84 === Source Code Support === 85 Trac 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 57 97 58 98 For more processor macros developed and/or contributed by users, visit the processor bazaar: … … 73 113 74 114 ---- 75 See also: WikiMacros, WikiHtml, WikiRestructuredText, WikiFormatting, TracGuide115 See also: WikiMacros, WikiHtml, WikiRestructuredText, SyntaxColoring, WikiFormatting, TracGuide