HTML Wiki Documents

HTML documents are edited through the use of the CKEditor.  See http://ckeditor.com (version 3.6) for more information or click the Modify link to edit this document. Unless otherwise noted, the examples below were created by keying or pasting text, selecting text, and clicking the various CKEditor styling buttons.

The CKEditor uses style attributes to support colored text, background colors, and image positioning and resizing. Default configuration settings suppress these because style attributes are vulnerable to XSS attacks. If all wiki editors are trusted, then add the following line to wikiconfig.py. Read the configuration docs for more information.

    allow_style_attributes = True

Features currently not working with moin's HTML parser are marked with HTMLTODO.

Table of Contents

HTMLTODO: Other than entering source code, there is no means of creating a table of contents.

Headings

For H1 and H2 headings, see the top of this document and the above heading.

Heading Level 3

Heading Level 4

Heading Level 5
Heading Level 6

 

Text Formatting

See comments about allow_style_attributes at the top of this page to turn on text-color and background color below.

Normal italic bold bold-italic underline subscript2 superscript2 stroke text-color background-color

Left aligned

Centered

Right aligned

To add a link to an item in the default namespace, just use the item name or full http protocol. Add a leading / if the originating item is not in the default namespace. To suppress the leading www icon like the first item below, use a simple link and choose <other> as the link protocol.

In order to make your wiki relocatable, use relative hrefs. Use of href starting with "/" will break if the wiki is redeployed under a new wiki_root.

Home

/SubItem

help-en/Sibling

../Sibling

To add a link to an item in a namespace, use <namespace>/<item name>.

users/Home

Moin https://moinmo.in

Transclusions

Images

my imageTo display an image stored in the wiki you must enter a wiki:// link in the CKEditor. This example uses wiki:///help-common/cat.jpg?do=get.

This logo is defined to be aligned right and appears that way in the CKEditor. See comments about allow_style_attributes at the top of this page.

Media

HTMLTODO: Other than entering source code, there apears to be no CKEditor support for audio and video.

Blockquotes and Indentations

Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi,
viverra nec, fringilla in, laoreet vitae, risus.

Lists

Unordered Lists

  • one
  • two
    • A
    • B
    • C
  • three

Ordered Lists

  1. one
  2. two
  3. three
    1. a
    2. b
    3. c

Definition Lists

HTMLTODO: Other than entering source code, there appears to be no CKEditor support for definition lists.

Horizontal Rules



Tables

Fruit Colors
FruitColor
AppleRed
BananaYellow
Fruit Colors
FruitAppleBanana
ColorRedYellow

Smileys and Icons

cool

HTMLTODO: The CKEditor smiley tool creates static URLs. The URL for the smiley above is valid for the moin2 built in server running at port 8080.

Admonitions

HTMLTODO: Other than entering source code, there is no support for moin-style admonitions.

Comments

HTMLTODO: Other than entering source code, there is no support for moin comments that can be hidden/uhhidden.

Footnotes

HTMLTODO: Other than entering source code, there is no support for footnotes.