资 源 简 介
INTRODUCTION
Many people implement their wiki rendering system based on server side script or even complex cgi-bin modules, as experienced web developer we all know that using the server side resource for rendering the texts is a hard job, especially for those websites that has more than 10000 of visitors per day.
For solving the server pressure problem, we researched into a way to implement the wiki rendering system that is compatiable with Google Code Wiki in pure Javascript language, we have ended in this project.
USAGE
Using JSWiki module on your site is very easy, just using the wiki2html() function to translate pure Google Code Wiki syntax string into html rendered format, then the output could be displayed by using simple js techniques.
For example:
```
// Sample wiki text
var wiki_text = "
= Title 1 =
==Title 2==
Hello, this is a sample test.
";
// Translate the wiki syntax into html t