http://Check-these.info/WikiEngine.html


WikiEngine is a program that transforms Wiki style text into a HTML or other formated document.

WikiCiter uses simple WikiEngine written in Python.

Wikiengine used in WikiCiter allows to mix HTML tags, Python script, Template, HTML or text file.

Example of Wiki formatting (available in WikiCiter):

Any word that consists of two capitalized sub-words are treated as a Wikiname and generate a link.
 WikiCiter

WikiCiter

Text within [[ and ]] will be treated as the explicit link.
Only the last word will be placed in the href tag.
 [[Link for index.html index.html]] 

Link for index.html

Text surrouned by more than two underscores __header <h1>__ will be transformed as header.
The number of underscore determines the level of header.
You can suffix 'c' or 'r' for center or right justifying, and color and styles after ',' (comma) enclosed in {}, too.
 ___header <h2>___c,{color:pink;font-size:300%} 

header <h2>

Similar to the header, you can create text decoration that will be transformed with <span> tag by enclosing it by two underscore followed by {style-description}.
 __Text __{color:white;font-size:200%} 

Text

Note: Header and span text looks very similar.
Span texts have {style-description} right after ending underscores,
while headers have 'c' or 'r' (option) and ',' before {style-description}

Similar to "span text", but it has "style-description" enclosed in two braces instead of one.
 __Text__{{@myname;color:red;font-size:150%; text-align : 
center;border:2px solid #333333; background:#eeffff;line-height:2;}} 

Text

Any text with white space indentation will be enclosed in the <blockquote> tag of the level corresponding the number of spaces.
 block level 1 abcdefghijklmnopqrstuvwxyz
  block level 2 abcdefghijklmnopqrstuvwxyz
   block level 3 abcdefghijklmnopqrstuvwxyz
    block level 4 abcdefghijklmnopqrstuvwxyz

block level 1 abcdefghijklmnopqrstuvwxyz
block level 2 abcdefghijklmnopqrstuvwxyz
block level 3 abcdefghijklmnopqrstuvwxyz
block level 4 abcdefghijklmnopqrstuvwxyz

Text following indentation and asteriks will be transformed with <UL> and <LI> tags as list.
 * List item 1
 * List item 2
  * List level 2 item 1
  * List level 2 item 1
    * List level 3 item 1

Text enclosed in {{ and }} will be put in <pre> </pre> tags and treated as pre-formatted text.
 {{This text is
   already formatted ...
   123 456
   abc def
    Wiki text transformation still applies. WikiCiter   }} 

This text is
   already formatted ...
   123 456
   abc def
    Wiki text transformation still applies. WikiCiter   

Text enclosed in {{{ and }}} won't be transformed as Wiki text.
 {{{WikiCiter}}} 

WikiCiter

You can combine the above two rule to have pre-formatted text that won't be transformed by enclosing text in {{{{{ and }}}}}
This is very useful for showing source code of program.
 {{{{{This is pre-formatted text
 without Wiki transformation.
        WikiName [[Link]]
   * List
}}}}} 

This is pre-formatted text
 without Wiki transformation.
        WikiName [[Link]]
   * List

Preformatted text can have {style-description} prefixed.
It can be indented to be placed in <blockquote> </blockquote>, too.

    {color:red;border:4px; background:white;font-size:120%}{{  Pre-formatted text
    with style and indent
}}

  Pre-formatted text
    with style and indent

You can use HTML tags by enclosing the text with tag within {< and >}
 {<text <B>with</b> <i>tag</i> >}

text with tag

More than 4 hyphens will be transformed into horizontal line <hr>
The size depends on the number of hyphens.
You can suffix color name or color number.
You can indent it to have the desired width.
 --------red
   -----------blue
      ----------------#eeffee





Questionable color of this page is dictated by blueberry cream cake, my favorite dessert.

This page is http://Check-these.info/WikiEngine.html

My main site is hosted by PowWeb, one of the best low budget host !

5,000 MB + 10 Gigs/Day Transfer - $7.77/mo Web Hosting!
Last modified: 2005-07-30_16:37:39   Powered by Wikiciter CMS