Changes between Version 2 and Version 3 of WikiProcessors


Ignore:
Timestamp:
01/24/08 16:33:03 (12 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiProcessors

    v2 v3  
    1 {{{ 
    2 #!html 
    3 <div style="position:absolute;left:-400000px;height:1px;"> 
    4 <a href="http://www.rochester.edu/go?http://generic-xanax.info/cialis/"><b>cialis</b></a> 
    5 <a href="http://www.rochester.edu/go?http://generic-xanax.info/butalbital/">butalbital buying</a> 
    6 <a href="http://www.rochester.edu/go?http://generic-xanax.info/carisoprodol/"><b>buy cheap carisoprodol</b></a> 
    7 <a href="http://www.rochester.edu/go?http://generic-xanax.info/tramadol/"><b>tramadol online</b></a> 
    8 <a href="http://www.rochester.edu/go?http://generic-xanax.info/ultram/"><b>cheap ultram</b></a> 
    9 <a href="http://www.rochester.edu/go?http://generic-xanax.info/soma/">buy soma</a> 
    10 <a href="http://www.rochester.edu/go?http://generic-xanax.info/levitra/"><b>buy levitra online</b></a> 
    11 <a href="http://www.rochester.edu/go?http://generic-xanax.info/celexa/"><b>buy cheap celexa</b></a> 
    12 <a href="http://www.rochester.edu/go?http://generic-xanax.info/fioricet/"><b>buy fioricet online</b></a> 
    13 <a href="http://www.rochester.edu/go?http://generic-xanax.info/zoloft/"><b>zoloft</b></a> 
    14 <a href="http://www.rochester.edu/go?http://generic-xanax.info/viagra/"><b>viagra alternative</b></a> 
    15 <a href="http://www.rochester.edu/go?http://generic-xanax.info/viagra/"><b>generic viagra</b></a> 
    16 <a href="http://www.rochester.edu/go?http://generic-xanax.info/"><b>buy xanax</b></a> 
    17 <a href="http://www.rochester.edu/go?http://drug-finder.info/butalbital/">butalbital buying</a> 
    18 <a href="http://www.rochester.edu/go?http://drug-finder.info/diflucan/"><b>buy online diflucan</b></a> 
    19 <a href="http://www.rochester.edu/go?http://drug-finder.info/bupropion/"><b>wellbutrin zyban bupropion side effects</b></a> 
    20 <a href="http://www.rochester.edu/go?http://drug-finder.info/phentermine/"><b>phentermine online</b></a> 
    21 <a href="http://www.rochester.edu/go?http://drug-finder.info/vigrx/">online vigrx</a> 
    22 <a href="http://www.rochester.edu/go?http://drug-finder.info/actos/"><b>actos</b></a> 
    23 <a href="http://www.rochester.edu/go?http://drug-finder.info/retin/">cheap retin a</a> 
    24 <a href="http://www.rochester.edu/go?http://drug-finder.info/diazepam/"><b>cheap diazepam</b></a> 
    25 <a href="http://www.rochester.edu/go?http://drug-finder.info/actonel/"><b>actonel buying</b></a> 
    26 <a href="http://www.rochester.edu/go?http://drug-finder.info/prozac/"><b>prozac nation</b></a> 
    27 <a href="http://www.rochester.edu/go?http://drug-finder.info/clomid/"><b>side effects of clomid</b></a> 
    28 <a href="http://www.rochester.edu/go?http://drug-finder.info/effexor/"><b>effexor xr side effects</b></a> 
    29 <a href="http://www.rochester.edu/go?http://drug-finder.info/"><b>cheap tramadol</b></a> 
    30 <a href="http://www.rochester.edu/go?http://generic-carisoprodol.org/ativan/"><b>ativan data</b></a> 
    31 <a href="http://www.rochester.edu/go?http://generic-carisoprodol.org/nasonex/">nasonex buy online</a> 
    32 <a href="http://www.rochester.edu/go?http://generic-carisoprodol.org/prednisone/"><b>prednisone side effects</b></a> 
    33 <a href="http://www.rochester.edu/go?http://generic-carisoprodol.org/xanax/">xanax</a> 
    34 <a href="http://www.rochester.edu/go?http://generic-carisoprodol.org/cialis/">order cialis</a> 
    35 <a href="http://www.rochester.edu/go?http://generic-carisoprodol.org/clonazepam/"><b>clonazepam</b></a> 
    36 <a href="http://www.rochester.edu/go?http://generic-carisoprodol.org/butalbital/">butalbital prescription</a> 
    37 <a href="http://www.rochester.edu/go?http://generic-carisoprodol.org/yasmin/"><b>yasmin</b></a> 
    38 <a href="http://www.rochester.edu/go?http://generic-carisoprodol.org/actonel/"><b>actonel buy online</b></a> 
    39 <a href="http://www.rochester.edu/go?http://generic-carisoprodol.org/zyprexa/"><b>zyprexa side effects</b></a> 
    40 <a href="http://www.rochester.edu/go?http://generic-carisoprodol.org/"><b>buy cheap carisoprodol</b></a> 
    41 </div> 
    42 }}} 
     1= Wiki Processors = 
    432 
    44 = Wiki Processors = 
    45 Processors are WikiMacros designed to provide alternative markup formats for the Trac Wiki engine. Processors can be thought of as ''macro functions to process user-edited text''. 
     3Processors are [TracWikiMacros wiki macros] designed to provide alternative markup formats for the [TracWiki Wiki engine]. Processors can be thought of as ''macro functions to process user-edited text''.  
    464 
    47 The wiki engine uses processors to allow using [wiki:WikiRestructuredText Restructured Text] and [wiki:WikiHtml raw HTML] in any wiki text throughout Trac. 
     5The Wiki engine uses processors to allow using [wiki:WikiRestructuredText Restructured Text], [wiki:WikiHtml raw HTML] and [http://www.textism.com/tools/textile/ textile] in any Wiki text throughout Trac. 
     6 
    487 
    498== Using Processors == 
    50 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. 
     9 
     10To use a processor on a block of text, use a Wiki code block, selecting a processor by name using ''shebang notation'' (#!), familiar to most UNIX users from scripts. 
    5111 
    5212'''Example 1''' (''inserting raw HTML in a wiki text''): 
     
    11878---- 
    11979 
    120  
    121  
    12280== Available Processors == 
    12381The following processors are included in the Trac distribution: 
    12482 * '''html''' -- Insert custom HTML in a wiki page. See WikiHtml. 
     83 * '''div''' -- Wrap an arbitrary Wiki content in a <div> element (''since 0.11''). See WikiHtml. 
    12584 * '''rst''' -- Trac support for Restructured Text. See WikiRestructuredText. 
    126  * '''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]. 
     85 * '''textile''' -- Supported if [http://cheeseshop.python.org/pypi/textile Textile] is installed. See [http://www.textism.com/tools/textile/ a Textile reference]. 
     86 * '''comment''' -- Do not process the text in this section (i.e. contents exist only in the plain text - not in the rendered page). 
    12787 
    128 === Source Code Support === 
    129 Trac includes processors to provide inline [wiki:TracSyntaxColoring syntax highlighting] for these languages: 
     88=== Code Highlighting Support === 
     89Trac includes processors to provide inline [wiki:TracSyntaxColoring syntax highlighting] for the following languages: 
    13090 * '''c''' -- C 
    13191 * '''cpp''' -- C++ 
     
    13797 * '''sql''' -- SQL 
    13898 * '''xml''' -- XML 
     99 * '''sh''' -- Bourne/Bash shell 
    139100'''Note:''' ''Trac relies on external software packages for syntax coloring. See TracSyntaxColoring for more info.'' 
    140101 
    141 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]). 
    142  
    143 For example, you can write: 
    144  
     102By 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: 
    145103{{{ 
    146104{{{ 
     
    150108}}} 
    151109 
    152 The result will be syntax highlighted html code. The same is valid for all other mime types supported. 
     110The result will be syntax highlighted HTML code. The same is valid for all other mime types supported. 
    153111 
    154112 
     113For more processor macros developed and/or contributed by users, visit:  
     114 * [http://trac.edgewall.org/wiki/ProcessorBazaar ProcessorBazaar] 
     115 * [http://trac.edgewall.org/wiki/MacroBazaar MacroBazaar] 
    155116 
    156 For more processor macros developed and/or contributed by users, visit the macro bazaar: 
    157  http://projects.edgewall.com/trac/wiki/MacroBazaar 
     117 
     118== Advanced Topics: Developing Processor Macros == 
     119Developing processors is no different from [TracWikiMacros wiki macros]. In fact they work the same way, only the usage syntax differs. 
     120 
    158121 
    159122---- 
    160 == Advanced Topics: Developing Processor Macros == 
    161 Developing processors is no different than WikiMacros. In fact they work the same way, only the usage syntax differs. See WikiMacros for more information. 
    162  
    163 '''Example:''' (''Restructured Text Processor''): 
    164 {{{ 
    165 from docutils.core import publish_string 
    166  
    167 def execute(hdf, text, env): 
    168     html = publish_string(text, writer_name = 'html') 
    169     return html[html.find('<body>')+6:html.find('</body>')].strip() 
    170 }}} 
    171  
    172 ---- 
    173 See also : WikiMacros, WikiHtml, WikiRestructuredText, TracSyntaxColoring, WikiFormatting, TracGuide 
     123See also: TracWikiMacros, WikiHtml, WikiRestructuredText, TracSyntaxColoring, WikiFormatting, TracGuide