This installation of Friki uses "classic" formatting.
In this style page formatting is based on the style used in the "original" Wiki described at Wiki:TextFormattingRules. Text is mostly displayed as you have typed it. To prevent problems with rendering HTML, important characters such as '<'. '>, and '&' are "escaped". HTML normally joins lines and wraps the result, so to start a new paragraph, you need to put a blank line (which will be converted to a <p> tag). "Classic" markup also adds ways to indicate emphasis, strong emphasis, and so on. The thing that makes this a "Wiki", and not just a collection of editable pages is the ability to create "links" between pages. In the "classic" formatting, a link is identified by creating a "WikiWord"; placing two or more initial-capitalised words together (eg. FrontPage). If the page exists, you'll see a link to it, if it doesn't exist yet, you'll see the name followed by a '?', which you can click to create the page. The rules are described in more detail below:This is text in a monospaced font. This is indented with three spaces.This is not. Notice that there is a MonospaceIndentationProblem. Indented Paragraphs (Quotes)
Example Table | |||
type | with | spanning | header |
cols | and | several | columns |
BlockTransform?.java |
package com.efsol.friki.transform; import com.efsol.friki.*; public class BlockTransform extends DynamicTransform { private Transformer tx; private String URL="http://www.efsol.com/" public BlockTransform() { super("\\[" + newLinePattern + "((?:[^\\n\\r]*" + newLinePattern + ")+)" + "\\]"); tx = new Transformer(); tx.addTransform(newLinePattern, "<br>"); tx.addTransform("\\|", "\\\\|"); } } |