* Piki -- a command line WIKI [Japanese ../ja/] {right Kazu Yamamoto\
Created: 2010.3.10\
Modified: 2011.2.7 } Piki is yet another WIKI. Like other WIKI systems, Piki provides simple notations to express document structures. But unlike them, it does not use Web servers. "piki" is a command line program to convert a Piki text file to an HTML file. "Piki" is written in [Parsec http://research.microsoft.com/en-us/um/people/daan/parsec.html], a functional parser of [Haskell http://www.haskell.org]. You can download ["Piki" http://hackage.haskell.org/package/piki] from Hackage. ["Git repository" http://github.com/kazu-yamamoto/piki] is on github. ** The "piki" command "piki" takes an HTML template file (say "template.html") and a Piki text file (say "index.piki") as arguments and produces an HTML file (say "index.html"): >| % piki template.html index.piki > index.html |< "template.html" should contain HTML meta information. "piki" converts "$body" with the contents produced with the Piki file. And it replaces "$title" of the contents of the first

. You can see an example of [template.html template.html] with "view source" of your browser. You should also see an example of [index.piki index.piki]. **The Piki notation Like other WIKI systems, most of the Piki notation use the first character of lines. ***Comments The lines which start with "#" are ignored. >| # Comment. Ignored. |< ***Horizontal rule The line which starts with "=" is horizontal rule(
). All characters after "=" are ignored. >| ================================================================ |< ***Headline The tag can be expressed with "*". The number of "*" indicates level. >| * First level Headline (h1) ** Second level headline (h2) |< ***Lists "-" and "+" indicates unordered list item(