Changes between Version 1 and Version 2 of WikiProcessors


Ignore:
Timestamp:
Jan 30, 2006, 11:09:16 PM (17 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiProcessors

    v1 v2  
    55
    66== Using Processors ==
    7 To use a processor on a block of text, use a wiki blockquote, selecting a processor by name using 'hashbang notation' (#!), familiar to most UNIX users from scripts.
     7To use a processor on a block of text, use a wiki blockquote, selecting a processor by name using ''shebang notation'' (#!), familiar to most UNIX users from scripts.
    88
    99'''Example 1''' (''inserting raw HTML in a wiki text''):
     
    5757int main(int argc, char *argv[])
    5858{
    59   printf("Hello World
    60 ");
     59  printf("Hello World\n");
    6160  return 0;
    6261}
     
    6968int main(int argc, char *argv[])
    7069{
    71   printf("Hello World
    72 ");
     70  printf("Hello World\n");
    7371  return 0;
    7472}
     
    7674
    7775----
    78 
    79 
    8076
    8177== Available Processors ==
     
    8581 * '''textile''' -- Supported if  [http://dealmeida.net/projects/textile/ Textile] is installed.
    8682
    87 === Source Code Support ===
    88 Trac includes processors to provide inline [wiki:TracSyntaxColoring syntax highlighting] for these languages:
     83=== Code Highlighting Support ===
     84Trac includes processors to provide inline [wiki:TracSyntaxColoring syntax highlighting] for the following languages:
    8985 * '''c''' -- C
    9086 * '''cpp''' -- C++
     
    9894'''Note:''' ''Trac relies on external software packages for syntax coloring. See TracSyntaxColoring for more info.''
    9995
    100 By using the mime-type as processor, it is posible to syntax-highlight the same languages that are supported when browsing source code.
    101 
    102 For example, you can write:
    103 
     96By using the MIME type as processor, it is possible to syntax-highlight the same languages that are supported when browsing source code. For example, you can write:
    10497{{{
    10598{{{
     
    109102}}}
    110103
    111 The result will be syntax highlighted html code. The same is valid for all other mime types supported.
     104The result will be syntax highlighted HTML code. The same is valid for all other mime types supported.
    112105
    113106
     107For more processor macros developed and/or contributed by users, visit:
     108 * [http://projects.edgewall.com/trac/wiki/ProcessorBazaar ProcessorBazaar]
     109 * [http://projects.edgewall.com/trac/wiki/MacroBazaar MacroBazaar]
    114110
    115 For more processor macros developed and/or contributed by users, visit the macro bazaar:
    116  http://projects.edgewall.com/trac/wiki/MacroBazaar
    117111
    118 ----
    119112== Advanced Topics: Developing Processor Macros ==
    120113Developing processors is no different than WikiMacros. In fact they work the same way, only the usage syntax differs. See WikiMacros for more information.
     
    130123
    131124----
    132 See also : WikiMacros, WikiHtml, WikiRestructuredText, TracSyntaxColoring, WikiFormatting, TracGuide
     125See also: WikiMacros, WikiHtml, WikiRestructuredText, TracSyntaxColoring, WikiFormatting, TracGuide