add toc, and improve layout

master
joey 2007-05-20 00:12:02 +00:00
parent a15aea14b3
commit f32aa33d20
1 changed files with 21 additions and 13 deletions

View File

@ -1,4 +1,4 @@
# Help on formatting text [[meta title="Help on formatting wiki pages"]]
Text on this wiki is, by default, written in a form very close to how you Text on this wiki is, by default, written in a form very close to how you
might write text for an email message. This style of text formatting is might write text for an email message. This style of text formatting is
@ -56,24 +56,32 @@ form \[link text\]\(url\)
---- ----
You can also use [[PreProcessorDirective]]s to do additional cool stuff. In addition to basic html formatting using [[MarkDown]], this wiki lets
you use the following additional features:
[[if test="enabled(inline) and blog" then="""
This wiki has the inline plugin enabled, so you can create a [[blog]] on any
page.
"""]]
[[if test="enabled(smiley) and smileys" then=""" [[if test="enabled(smiley) and smileys" then="""
This wiki has the smiley plugin enabled, so you can insert [[smileys]] and some * Insert [[smileys]] and some other useful symbols. :-)
other useful symbols.
"""]] """]]
[[if test="enabled(shortcut) and shortcuts" then=""" [[if test="enabled(shortcut) and shortcuts" then="""
This wiki has the shortcut plugin enabled, so you can use [[shortcuts]] to link * Use [[shortcuts]] to link to common resources.
to common resources.
\[[wikipedia War\_of\_1812]]
"""]]
[[if test="enabled(toc)" then="""
* Add a table of contents to a page:
\[[toc ]]
"""]]
[[if test="enabled(inline) and blog" then="""
* Create a [[blog]] by inlining a set of pages:
\[[inline pages="blog/*"]]
"""]] """]]
[[if test="enabled(template) and templates" then=""" [[if test="enabled(template) and templates" then="""
This wiki has the template plugin enabled, so you can create and use * Create and fill out [[templates]] for repeated chunks of
[[templates]] for repeated chunks of parameterized wiki text. parameterized wiki text.
"""]] """]]