PWP wiki processor

TextRules

TextRules . SimpleTextRules . Installation . Configuration
UserManual . FAQ . »find more online

 · Supported Text Rules
 · Unsupported text rules
 · Features of an edit box (under Windows)

Supported Text Rules

Introduction

In a Wiki there are (special) characters like # * ; : = and their position in a line applied to format text. The Wiki mark-up is converted at server site into HTML. If you edit a page again, you will see exactly what you typed: text with Wiki mark-up chars - not HTML. It will take beginners roughly 20 minutes to get used to write the Wiki mark-up chars.

To create a new page, just type its name on an existing page inside a Wiki link (see below). If the page does not exist, PWP will display the name with a question mark link (?). A simple click on this link will create the page.

Plain HTML Input

Per default, PWP is configured NOT to accept HTML input. The chars & > < become silently converted into HTML entities '&...;'. You can also configure PWP to accept plain HTML as input. Which HTML tags are allowed, is defined in the config file. PWP uses strip_tags() to get rid of unwanted HTML. If you want to use < and > in a mathematical meaning, simply leave a space on either side or the strip_tags() function may strip whole parts of the text! Signs like << and >> are not allowed if PWP is configured to accept HTML input.

Sample of Wiki Text

A sample of Wiki mark-up can be found among the uploaded files: »file:text_rules_test.txt. Just copy'n'paste it's contents into the edit box of a Wiki page.

Inkine Markup and Paragraphs

Headings

PWP creates a named anchor for each heading. See in the link section below how to address them.

Block Markup and Block Alignment

In order to center a multiline block like tables, comments, blockquote, etc. one has to use the char '~' on an empty line above and below the block - and of course in front of each line of the block, too. Alignment is done using a DIV.

Line Concatenation

Lists

New in 1.5.0: PWP now supports three list levels. All three list types can be mixed at different levels.

Preformatted Text and Source Code

Links and Images

Basically, links and images are identical from PWP's point of view. Both are internet addresses. An image is distinguished from a link just by its extension, e.g. '.gif'. If PWP finds an image extension within an address, it uses the image tag IMG instead of the link tag A HREF.

There are three choices for linking external content and including images:

Comments, Wiki Markup Escaping

Variables

Tables

Unsupported text rules

Features of an edit box (under Windows)

   (Powered by PWP Version 1-5-1)