Přenos viru

TODO

  • TOC
  • Images
  • Paragraphs
  • External link images

WikiFormatting

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

Font Styles

The Trac wiki supports the following font styles:

 * '''bold''',
 * ''italic''
 * '''''bold italic'''''
 * __underline__
 * ~~strike-through~~
 * ^superscript^
 * ,,subscript,,

Display:

  • bold,
  • italic
  • bold italic
  • underline
  • strike-through
  • superscript
  • subscript

Headings

You can create heading by starting a line with one up to five 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'' ===

Display:

Heading

Subheading

About this

Paragraphs

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

Still TODO:

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 lists

Example:

 * Item 1
 * Item 2

Display:

  • Item 1
  • Item 2

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

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"

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/

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

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:

Still TODO

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 (see below).

Miscellaneous

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

Example:

 ----

Display:



See also: TracLinks, TracGuide, WikiHtml, WikiMacros, WikiProcessors, TracSyntaxColoring.