WikiFormatting

Wiki markup is a core feature in Trac, tightly integrating all the other parts of Trac into a flexible and powerful whole.

Trac has a built in small and powerful wiki rendering engine. This wiki engine implements an ever growing subset of the commands from other popular Wikis, especially MoinMoin.

This page demonstrates the formatting syntax available anywhere WikiFormatting is allowed.

Font Styles

The Trac wiki supports the following font styles:

 * '''bold''', '''!''' can be bold too''', and '''! '''
 * ''italic''
 * '''''bold italic'''''
 * __underline__
 * {{{monospace}}} or `monospace`
 * ~~strike-through~~
 * ^superscript^ 
 * ,,subscript,,

Display:

  • bold, ''' can be bold too, and !
  • italic
  • bold italic
  • underline
  • monospace or monospace
  • strike-through
  • superscript
  • subscript

Notes:

  • {{{...}}} and `...` commands not only select a monospace font, but also treat their content as verbatim text, meaning that no further wiki processing is done on this text.
  • ! tells wiki parser to not take the following characters as wiki format, so pay attention to put a space after !, e.g. when ending bold.

Headings

You can create heading by starting a line with one up to five equal characters ("=") followed by a single space and the headline text. The line should end with a space followed by the same number of = characters. The heading might optionally be followed by an explicit id. If not, an implicit but nevertheless readable id will be generated.

Example:

= Heading =
== Subheading ==
=== About ''this'' ===
=== Explicit id === #using-explicit-id-in-heading

Display:

Heading

Subheading

About this

Explicit id

Paragraphs

A new text paragraph is created whenever two blocks of text are separated by one or more empty lines.

A forced line break can also be inserted, using:

Line 1[[BR]]Line 2

Display:

Line 1
Line 2

Lists

The wiki supports both ordered/numbered and unordered lists.

Example:

 * Item 1
   * Item 1.1
      * Item 1.1.1   
      * Item 1.1.2
      * Item 1.1.3
   * Item 1.2
 * Item 2

 1. Item 1
   a. Item 1.a
   a. Item 1.b
      i. Item 1.b.i
      i. Item 1.b.ii
 1. Item 2
And numbered lists can also be given an explicit number:
 3. Item 3

Display:

  • Item 1
    • Item 1.1
      • Item 1.1.1
      • Item 1.1.2
      • Item 1.1.3
    • Item 1.2
  • Item 2
  1. Item 1
    1. Item 1.a
    2. Item 1.b
      1. Item 1.b.i
      2. Item 1.b.ii
  2. Item 2

And numbered lists can also be given an explicit number:

  1. Item 3

Note that there must be one or more spaces preceding the list item markers, otherwise the list will be treated as a normal paragraph.

Definition Lists

The wiki also supports definition lists.

Example:

 llama::
   some kind of mammal, with hair
 ppython::
   some kind of reptile, without hair
   (can you spot the typo?)

Display:

llama
some kind of mammal, with hair
ppython
some kind of reptile, without hair (can you spot the typo?)

Note that you need a space in front of the defined term.

Preformatted Text

Block containing preformatted text are suitable for source code snippets, notes and examples. Use three curly braces wrapped around the text to define a block quote. The curly braces need to be on a separate line. Example:

 {{{
  def HelloWorld():
      print "Hello World"
 }}}

Display:

 def HelloWorld():
     print "Hello World"

Blockquotes

In order to mark a paragraph as blockquote, indent that paragraph with two spaces.

Example:

  This text is a quote from someone else.

Display:

This text is a quote from someone else.

Discussion Citations

To delineate a citation in an ongoing discussion thread, such as the ticket comment area, e-mail-like citation marks (">", ">>", etc.) may be used.

Example:

>> Someone's original text
> Someone else's reply text
My reply text

Display:

Someone's original text

Someone else's reply text

My reply text

Note: Some WikiFormatting elements, such as lists and preformatted text, are lost in the citation area. Some reformatting may be necessary to create a clear citation.

Tables

Simple tables can be created like this:

||Cell 1||Cell 2||Cell 3||
||Cell 4||Cell 5||Cell 6||

Display:

Cell 1Cell 2Cell 3
Cell 4Cell 5Cell 6

Note that more complex tables can be created using reStructuredText.

Hyperlinks are automatically created for WikiPageNames and URLs. WikiPageLinks can be disabled by prepending an exclamation mark "!" character, such as !WikiPageLink.

Example:

 TitleIndex, http://www.edgewall.com/, !NotAlink

Display:

TitleIndex, http://www.edgewall.com/, NotAlink

Links can be given a more descriptive title by writing the link followed by a space and a title and all this inside square brackets. If the descriptive title is omitted, then the explicit prefix is discarded, unless the link is an external link. This can be useful for wiki pages not adhering to the WikiPageNames convention.

Example:

 * [http://www.edgewall.com/ Edgewall Software]
 * [wiki:TitleIndex Title Index]
 * [wiki:ISO9000]

Display:

Wiki pages can link directly to other parts of the Trac system. Pages can refer to tickets, reports, changesets, milestones, source files and other Wiki pages using the following notations:

 * Tickets: #1 or ticket:1
 * Reports: {1} or report:1
 * Changesets: r1, [1] or changeset:1
 * ...

Display:

There are many more flavors of Trac links, see TracLinks for more in-depth information.

Escaping Links and WikiPageNames

You may avoid making hyperlinks out of TracLinks by preceding an expression with a single "!" (exclamation mark).

Example:

 !NoHyperLink
 !#42 is not a link

Display:

NoHyperLink #42 is not a link

Images

Urls ending with .png, .gif or .jpg are no longer automatically interpreted as image links, and converted to <img> tags.

You now have to use the [[Image]] macro. The simplest way to include an image is to upload it as attachment to the current page, and put the filename in a macro call like [[Image(picture.gif)]].

In addition to the current page, it is possible to refer to other resources:

  • [[Image(wiki:WikiFormatting:picture.gif)]] (referring to attachment on another page)
  • [[Image(ticket:1:picture.gif)]] (file attached to a ticket)
  • [[Image(htdocs:picture.gif)]] (referring to a file inside project htdocs)
  • [[Image(source:/trunk/trac/htdocs/trac_logo_mini.png)]] (a file in repository)

Example display: trac_logo_mini.png

See WikiMacros for further documentation on the [[Image()]] macro.

Macros

Macros are custom functions to insert dynamic content in a page.

Example:

 [[RecentChanges(Trac,3)]]

Display:

08/19/11

01/07/11

12/28/10

See WikiMacros for more information, and a list of installed macros.

Processors

Trac supports alternative markup formats using WikiProcessors. For example, processors are used to write pages in reStructuredText or HTML.

Example 1:

{{{
#!html
<h1 style="text-align: right; color: blue">HTML Test</h1>
}}}

Display:

HTML Test

Example:

{{{
#!python
class Test:

    def __init__(self):
        print "Hello World"
if __name__ == '__main__':
   Test()
}}}

Display:

class Test:
    def __init__(self):
        print "Hello World"
if __name__ == '__main__':
   Test()

Perl:

my ($test) = 0;
if ($test > 0) {
    print "hello";
}

See WikiProcessors for more information.

Comments

Comments can be added to the plain text. These will not be rendered and will not display in any other format than plain text.

{{{
#!comment
Your comment here
}}}

Miscellaneous

Four or more dashes will be replaced by a horizontal line (<HR>)

Example:

 ----

Display:



See also: TracLinks, TracGuide, WikiHtml, WikiMacros, WikiProcessors, TracSyntaxColoring.Get hold of portable property. -- Charles Dickens, "Great Expectations" http://compraviagraitalia.com/it/item/kamagra_oral_jelly.html

compra cialis italia

viagra a roma http://relievepain.org/index.html http://buycialis.cc http://headachetreatment.net/fioricet-online/index.php?entry=entry090307-210321 yEq8zcy farmaci italia fioricet canada brand cialis bP7X.B/ order tramadol pills

There haven't been any ChangeLog? updates in hours! Slackware's dead!

-- GP From: Keith Keller http://compraviagraitalia.com/it/item/generic_cialis.html

Cialis shipped ups

cialis generico acquisto on line farmacia svizzera vendita viagra di marca http://relievepain.org/ http://www.dogomania.com/forum/showthread.php?p=279776 http://community.icontact.com/users/buyfioricet http://www.maclife.com/user/buy_cialis_com KF6Uc3C acquistare viagra siguro buy fioricet Cialis without prescriptions abV.xJJ online tramadol

Revolution, n.:

In politics, an abrupt change in the form of misgovernment.

-- Ambrose Bierce

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

Cialis reviews

compra kamagra generico viagra comprare http://www.folkd.com/user/tramadolonline http://www.buycialis.cc/ http://www.gomedia.us/forum/member.php?u=1621 http://www.buycialis.cc/ aromjbP compra viagra dall'Italia fioricet orders ordering Cialis Opt386. where can i order tramadol

Ever try to read 'man bash' when you're really high?

It's not a pretty sight. =)

-- +Chiron+

buy cialas buy viagra http://www.hotfrog.in/Companies/Buy-Cialis-Online http://buycialisonline.tv/product.php?prod=viagra levitra free shipping tramadol online pharmacy mlg6r8q http://www.kaboodle.com/buylevitra http://relievepain.org/ buy fioricet uk vendita viagra online http://www.jayde.com/15220245-headachetreatment.html http://www.arte-arezzo.it/moodle/user/view.php?id=521&course=1&comprare-viagra-cialis The abuse of greatness is when it disjoins remorse from power.

-- William Shakespeare, "Julius Caesar"

http://www.arte-arezzo.it/moodle/user/view.php?id=521&course=1&comprare-viagra-cialis

Buy Cialis medication

cialis per uomo viagra generico in internet compra propecia online http://www.hotfrog.it/Societa/Compra-Cialis-e-Viagra/Propecia-Generico-14606 http://community.pchemma.se/members/tramadol.aspx http://buycialis.gather.com/ http://community.icontact.com/users/buyfioricet http://www.dogomania.com/forum/showthread.php?p=279776 DUPR30R acquisto viagra purchase brand fioricet Cialis 6I7J.Np cheap tramadol

You may worry about your hair-do today, but tomorrow much peanut butter will

be sold. cialis buy generic viagra http://buycialisonline.tv/product.php?prod=cialis http://www.folkd.com/user/buyviagra1 order levitra buy tramadol cheap online E9gURpF http://www.kaboodle.com/buylevitra http://forums.plexapp.com/index.php?showuser=8414 buy cheap fioricet headache acquista viagra online http://www.headachetreatment.net/ http://www2.iuav.it/moodle/user/view.php?id=2956&course=1&Viagra Let not the sands of time get in your lunch. buy cialis no prescription viagra http://www.dogomania.com/forum/showthread.php?p=279776 http://community.tasteofhome.com/members/BuyViagra/default.aspx order levitra online tramadol tabs ttuwLoC http://community.tasteofhome.com/members/BuyLevitra/default.aspx http://buycialisonline.tv/product.php?prod=tramadol fioricet headache treatment viagra compra online http://www.headachetreatment.net/ http://compraviagraitalia.com/ We warn the reader in advance that the proof presented here depends on a clever but highly unmotivated trick.

-- Howard Anton, "Elementary Linear Algebra"

http://www.annunci.net/annunci/54/posts/9_Compra_e_Vendi/77_Altro/819250_Compra_Viagra_Online.html

cialis rx

cialis generico acquisto on line farmacia svizzera viagra generico per impotenza acquista propecia http://www.hotfrog.it/Societa/Compra-Cialis-e-Viagra/Propecia-Generico-14606 http://www.kaneva.com/channel/tramadol.people http://subscene.com/members/buy_2D00_cialis.aspx http://www.folkd.com/user/buyfioricetonline http://www.mania.com/buycialis/blog.html XoxnF6p farmaco viagra cheap brand fioricet buy Cialis online aRcLfyT buy tramadol

It has been said that Public Relations is the art of winning friends

and getting people under the influence.

-- Jeremy Tunstall

http://lnx.spmg.it/moodle/user/view.php?id=470&course=1&viagra-cialis

Cialis uk

viagra levitra cialis acquisti viagra generico comprare propecia http://forum.pcworld.it/member.php?u=33505&propecia http://community.post-gazette.com/members/buytramadol/default.aspx http://showhype.com/profile/Buy_Cialis/ http://www.jayde.com/15220245-headachetreatment.html http://www.ourmedia.org/channels/buy-cialis /Ii0w.h compra viagra erezione buy fioricet us buy cialis drugs vo9mA76 tramadol hcl