Depending on the extensions installed, you can have different text formatting rules in effect:
**like this**
'''like this'''
[b]like this[/b]
*like this*
In all these cases, the default rules remain in effect. The rest of this page describes the default rules.
There are many other more rarely used formatting features, such as Permanent Anchors, Including RSS Feeds, Including Searches, Transclusion
You can also create your own rules. See New Text Formatting Rules.
Paragraphs
The most important rules are very simple:
With these simple rules, you can already start writing text.
Local Links
Local pages are linked using various link patterns.
See Link Pattern for how to enable and disable some of the features, if you have access to the config file.
Words in double square brackets are links to local pages. These square brackets will not be rendered if the page exists, since this links to a local page. Note that usual punctuation characters are not allowed in free links.
[[Text Formatting Rules]]
Result:
Text Formatting Rules
CamelCase words are the traditional links to local pages.
Example:
CamelCase
Result:
(disabled on this wiki, option $WikiLinks set to 0)
To prevent the word from being linked, prefix it with an exclamation-mark (!).
Example:
!CamelCase
Result:
(no effect on this wiki, since $WikiLinks is set to 0)
This only works reliably when the first upper-case character is an ASCII character (A-Z) and there is another upper-case ASCII character in the word, because Oddmuse doesn’t rely on installed locales.
Examples that will not work:
ÖlFörderung SchwerÖl
Inline Images
Words in double square brackets will inline images on local pages if prefixed with “image:”. These square brackets will not be rendered if the page exists, since this links to a local page. See File Upload for more information on uploading images to pages.
Example:
[[image:Zürich By Night]]
Result:
URLs
Plain URLs get hyperlinked.
Example:
www.emacswiki.org/
Result:
www.emacswiki.org/
Plain URLs ending in an image suffix will inline the image.
Example:
www.emacswiki.org/emacs_logo.png
Result:
Plain URLs in square brackets turn into numbered links, looking like footnotes.
Example:
[www.emacswiki.org/]
Result:
[1]
Plain URLs plus some text in square brackets result in the text being linked to the URL. The square brackets will remain visible in order to distinguish these links from links to local pages if you do not provide your own Cascading Style Sheet.
Example:
[www.emacswiki.org/ Emacs Wiki]
Result:
Emacs Wiki
Bullet List
List items start with one or more asterisks (*) and a space. The number of asterisks indicates the indentation level. An empty line ends the list.
Example:
* One item * Another item ** One More
Result:
Numerical Escapes
The Usemod Markup Extension contains a rule for definition lists. It looks as follows:
; term: definition
If you want the term to include a colon, you have to use numerical escapes. The colon has the ASCII code 58, therefore you can write the following:
; foo:bar: example
Result:
The following escapes are possible:
Transclusion Rules
<include ...>
<journal ...>
<rss ...>
<search ...>
<<<<<<<
The text formatting rules for links are listed on a separate page. See Link Pattern.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.