Home modules.gotpike.org
Username: Password: [Create Account]
[Forgot Password?]

Modules

ADT
Database
GTK2
GUI
IP
PiJAX
Public
Sql
Stdio
Subversion
System
Tools
Xosd
lua
v4l2
wx

Recent Changes

Public.Parser.XML2 1.50
Public.ZeroMQ 1.1
Public.Template.Mustache 1.0
Public.Protocols.XMPP 1.4
Sql.Provider.jdbc 1.0

Popular Downloads

Public.Parser.JSON2 1.0
Public.Parser.JSON 0.2
GTK2 2.23
Public.Web.FCGI 1.8
Public.Parser.XML2 1.48


Module Information
Public.Web.Wiki
Viewing contents of Public_Web_Wiki-1.11/README



BASIC USAGE
import Public.Web;
object w = Wiki.RenderEngine(Wiki.RuleFile.default_rules);
w->render("this __is__ a\\\\ test...");

REAL USAGE

You'll probably want to impliment your own RenderEngine. Start by inheriting the RenderEngine 
and then impliment at least the following methods:

public void appendLink(String.Buffer buf, string name, string view, string|void anchor)

public void appendCreateLink(String.Buffer buf, string name, string view)

public int(0..1) showCreate()

public int(0..1) exists(string name)


gotpike.org | Copyright © 2004 - 2019 | Pike is a trademark of Department of Computer and Information Science, Linköping University