Wiki Processors

Processors are WikiMacros designed to provide alternative markup formats for the Wiki engine. Processors can be thought of as macro functions to process user-edited text.

The Wiki engine uses processors to allow using Restructured Text, raw HTML and  textile in any Wiki text throughout Trac.

Using Processors

To 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.

Example 1 (inserting raw HTML in a wiki text):

{{{
#!html
<h1 style="color: orange">This is raw HTML</h1>
}}}

Results in:

This is raw HTML

Note that since 0.11, such blocks of HTML have to be self-contained, i.e. you can't start an HTML element in one block and close it later in a second block. Use div or span processors for achieving similar effect (see WikiHtml).


Example 2 (inserting Restructured Text in wiki text):

{{{
#!rst
A header
--------
This is some **text** with a footnote [*]_.

.. [*] This is the footnote.
}}}

Results in:

A header

This is some text with a footnote [*].

[*]This is the footnote.

Example 3 (inserting a block of C source code in wiki text):

{{{
#!c
int main(int argc, char *argv[])
{
  printf("Hello World\n");
  return 0;
}
}}}

Results in:

int main(int argc, char *argv[])
{
  printf("Hello World\n");
  return 0;
}

Available Processors

The following processors are included in the Trac distribution:

  • html -- Insert custom HTML in a wiki page. See WikiHtml.
  • div -- Wrap an arbitrary Wiki content in a <div> element (since 0.11). See WikiHtml.
  • span -- Wrap You will be recognized and honored as a community leader.

 cheap Cialis buy  viagra free shipping  http://www.sharepointblogs.com/members/buycialis/default.aspx  http://members.ebay.com/ws/eBayISAPI.dll?ViewUserPage&userid=buy-viagra-online-now  levitra  tramadol order Q.r.B3t  http://us.cyworld.com/buylevitra1  http://subscene.com/members/Buy-Tramadol-Online.-The-Best-Pain-Reliever.aspx  fioricet orders  compra viagra dall'Italia  http://www.folkd.com/user/buyfioricetonline  http://www.euronics.it/forum/user/profile/11590.page?Compra_Viagra Allow me to consecrate thy forehead with 'CLUE(tm)'.

-- +Chiron+

 http://www.euronics.it/forum/user/profile/10701.page

 buy cialis canada

 vendita cialis online  generico del viagra  compra propecia generico  http://compraviagraitalia.com/it/item/generic_propecia.html  http://www.jayde.com/15219715-relievepain.html  http://www.dogomania.com/forum/showthread.php?p=279776  http://www.gomedia.us/forum/member.php?u=1621  http://www.buycialis.cc/ FsJNKj9  viagra erezione  buy fioricet butalbital  buy order cialis online EDOlt0c  cheap tramadol

Our way is peace.

-- Septimus, the Son Worshiper, "Bread and Circuses",

stardate 4040.7.

 http://forum.teamplay.it/index.php?automodule=blog&blogid=45&compra-viagra-online-cialis#

 buy cialis com

 ordina cialis  viagra compra generico online  acquista propecia  http://buycialis.cc/it/item/generic_propecia.html  http://www.xomreviews.com/relievepain.org  http://www.folkd.com/user/buycialisonline  http://www.xomreviews.com/headachetreatment.net  http://www.dogomania.com/forum/showthread.php?p=279776 JqJ.b.2  cialis italia  fioricet buy online  buy Cialis cheap FkghnmN  order cheap tramadol

We all live in a state of ambitious poverty.

-- Decimus Junius Juvenalis

 http://forum.studenti.it/members/compraviagra1.html

 Cialis online discount

 cialis per la donna  generico viagra comprare  compra propecia online  http://buycialis.cc/it/item/generic_propecia.html  http://www.xomreviews.com/relievepain.org  http://www.dogomania.com/forum/showthread.php?p=279776  http://www.sharepointblogs.com/members/buyfioricet/default.aspx  http://www.jaman.com/people/BuyCialis/ obN52/M  come comprare viagra online  buy fioricet  cialis pharmacy online frvfZZb  tramadol usa