Table of Contents

The documentation on this site refers to version 0.22.0 alpha, released 2004-09-19, but the most recent version is 0.24.0 beta, released 2005-01-30. The differences between the two are negligible.

PEAR::Text_Wiki

What Text_Wiki Does

The Text_Wiki package allows you to transform text structured using Wiki rules into any defined target output format, such as XHTML, RTF, LaTeX, and so on.> Note: The current release only supports XHTML and plain-text output. RTF, LaTeX, DocBook, and so on will be added as the codebase stabilizes and matures.Text_Wiki achieves this level of flexibility by using one class for each part of the transformation process:

What Text_Wiki Does Not Do

The Text_Wiki package does not implement storage, saving, editing, diffs, page counts, and so on. Those functions are more properly the domain of a full Wiki application and environment, which is outside the stated Text_Wiki goals (i.e., to transform Wiki text according to defined rules for a target output format). You may wish to examine Yawiki if you need a full Wiki system and not just a wiki parser.

howitworks

Syntax examples

Methods

methodaddpath

methodchangerule

methoddeleterule

methoddisablerule

methodenablerule

methodgetformatconf

methodgetparseconf

methodgetpath

methodgetrenderconf

methodgetsource

methodgettokens

methodinsertrule

methodparse

methodrender

methodsetformatconf

methodsetparseconf

methodsetrenderconf

methodtextwiki

methodtransform

publicmethods

Rules

ruleanchor

ruleblockquote

rulebold

rulebreak

rulecenter

rulecode

rulecolortext

ruledeflist

ruledelimiter

ruleembed

ruleemphasis

ruleentities

rulefreelink

ruleheading

rulehoriz

rulehtml

ruleimage

ruleinclude

ruleinterwiki

ruleitalic

rulelist

rulenewline

ruleparagraph

rulephpcode

rulephplookup

ruleprefilter

ruleraw

rulerevise

rulestrong

rulesuperscript

ruletable

ruletighten

ruletoc

ruletranslatehtml

rulett

ruleurl

rulewikilink

Misc

smashwordstogether

todolist

userdocs

wikipage

wikirules

areamap

bugreports

downloadinstall