clcms 0.6 documentation

About clcms Overview Content Tree Macros
File Types Wiki Markup Content Attributes Output names Sort order
PageNav:
Next: Content Attributes
Up: Content Tree
Prev: File Types
Page contents:
Tags
Paragraphs
Headings
Italic text
Bold text
Monospace
Links
Images
Lists
To Project Page
Last updated:
2007-02-10

Tags

You can use HTML tags if you really need to. To use < and >, you can either use &lt; and &gt; or << and >>.


Back to top

Paragraphs

Paragraphs are separated by an empty line

This is a new paragraph.

Paragraphs are separated by an empty line

This is a new paragraph.


Back to top

Headings

Headings can be specified by enclosing them in equal-signs. More signs means a smaller header, with a minimum of two.

Header

Subheader

SubsubHeader

Source:

==Header==

===Subheader===

====SubsubHeader====


Back to top

Italic text

You can specify bold text by enclosing it in 3 quotes.

Source:

You can specify '''bold text''' by enclosing it in 3 quotes.


Back to top

Bold text

You can specify italic text by enclosing it in 2 quotes.

Source:

You can specify ''italic text'' by enclosing it in 2 quotes.


Back to top

Monospace

A line that is prepended with __ (two underscores) will be put in monospace font (ie. between <pre> tags).

monospace example

If you want to monospace multiple lines, you can use _NO_WIKI_ and normal <pre> tags.

multiple line
monospace
example

_NO_WIKI_
<pre>
multiple line
monospace
example
</pre>
_NO_WIKI_END_


Back to top

Links

Links are specified by enclosing them in double square brackets:

http://www.jelte.nlnetlabs.nl

[[http://www.jelte.nlnetlabs.nl]]

You can specify the text for the link like this:

Jelte's Website!

[[http://www.jelte.nlnetlabs.nl][Jelte's Website!]]

If you need additional HTML code in the tag, you can use a third argument for that:

link

[[http://www.jelte.nlnetlabs.nl][link][class="big"]]


Back to top

Images

Images are specified like links, with square brackets. The URL part looks like this: Image:<url>[|<alt-tag>]

The text of the alt-tag will appear instead of the image in browsers that cannot display images, and in the tooltip for browsers that can. If you do not specify an alt-tag, it will be replaced by the filename.

example image

[[Image:example_image.png|example image]]

You can specify extra options between the url and the alt-tag, separated by |:

  • <size>px
    The image will be scaled to a width of <size> pixels.
  • thumb
    The image will be enclosed by a link to the image itself.
  • frame
    The image will get a border.

example image thumbnail

[[Image:example_image.png|64px|thumb|frame|example image thumbnail]]

You can nest an image in a link:

example_image.png

[[http://www.jelte.nlnetlabs.nl][[[Image:example_image.png]]]]

You can specify additional html code for the img tag in an optional second field:

example_image.png

[[Image:example_image.png][onclick='alert("you clicked!");']]


Back to top

Lists

You can specify lists by beginning a line with a *:

  • This
  • is
  • a
  • list

* This
* is
* a
* list

You can nest lists by using more asterikses:

  • This
  • is
    • a
    • nested

  • list

* This
* is
** a
** nested
* list

You can use # for numbered lists:

  1. A
  2. numbered
  3. list

# A
# numbered
# list

And you can nest them both:

  • This
    1. is
    2. a

  • nested
    • list
      1. example
      2. !

* This
*# is
*# a
* nested
** list
**# example
**# !

In lists, single line breaks are ignored. Single empty lines are translated to a
(linebreak) tag, and a double empty line marks the end of the list.

  • List example
    with
  • line breaks

Not in list anymore

* List
example

with
* line
breaks


Not in list anymore