Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 1 and Version 2 of WikiProcessors


Ignore:
Timestamp:
Aug 30, 2006, 6:04:11 PM (18 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''):
     
    7575----
    7676
    77 
    78 
    7977== Available Processors ==
    8078The following processors are included in the Trac distribution:
    8179 * '''html''' -- Insert custom HTML in a wiki page. See WikiHtml.
    8280 * '''rst''' -- Trac support for Restructured Text. See WikiRestructuredText.
    83  * '''textile''' -- Initial support as of aug 2, 2004.  See [http://projects.edgewall.com/trac/ticket/593 ticket 593] and [http://dealmeida.net/projects/textile/ Textile].
     81 * '''textile''' -- Supported if  [http://dealmeida.net/projects/textile/ Textile] is installed.
    8482
    85 === Source Code Support ===
    86 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:
    8785 * '''c''' -- C
    8886 * '''cpp''' -- C++
     
    9694'''Note:''' ''Trac relies on external software packages for syntax coloring. See TracSyntaxColoring for more info.''
    9795
    98 By using the mime-type as processor, it is posible to syntax-highlight the same languages that are supported when browsing source code.  (The list of mime-types can be found in [source:trunk/trac/Mimeview.py Mimeview.py]).
    99 
    100 For example, you can write:
    101 
     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:
    10297{{{
    10398{{{
     
    107102}}}
    108103
    109 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.
    110105
    111106
     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]
    112110
    113 For more processor macros developed and/or contributed by users, visit the macro bazaar:
    114  http://projects.edgewall.com/trac/wiki/MacroBazaar
    115111
    116 ----
    117112== Advanced Topics: Developing Processor Macros ==
    118113Developing processors is no different than WikiMacros. In fact they work the same way, only the usage syntax differs. See WikiMacros for more information.
     
    128123
    129124----
    130 See also : WikiMacros, WikiHtml, WikiRestructuredText, TracSyntaxColoring, WikiFormatting, TracGuide
     125See also: WikiMacros, WikiHtml, WikiRestructuredText, TracSyntaxColoring, WikiFormatting, TracGuide