|
PmWiki /
Markup Master Index
Everything you wanted to know about wiki markup but were afraid to ask. LinksSee Links External linkshttp://example.com
[[http://example.com]]
[[http://example.com | link text]]
[[link text -> http://example.com]]
Page links[[PageName]]
[[page name]]
[[page (name)]]
[[PageName | link text]]
[[PageName | + ]] (titled link)
[[PageName | # ]] (anonymous numerical reference link)
[[link text -> PageName]]
[[#anchor]] (to create an anchor)
[[#anchor | link text]] (to refer to an anchor)
[[PageName#anchor | link text]] (to refer to an anchor in another page)
Wiki page linksSee Wiki word and Wiki group WikiWord
`NonWikiWord
Group/PageName
Group.PageName
[[GroupName/]]
[[GroupName.]]
Special group linksSee Links and Categories [[~Author Name]]
[[!Category Name]]
Intermap linksSee Inter map [[Path:/path/local_document.html]]
[[Wikipedia:WikiWikiWeb]]
Upload linksSee Uploads [[Attach:file with spaces.pdf]]
[[Attach:Groupname/file with spaces.pdf]]
Email links[[mailto:someone@example.com]]
[[mailto:someone@example.com|display text]]
[[display text -> mailto:someone@example.com]]
ImagesImages as Images
Images as links[[Attach:image.gif]]
[[(Attach:)image.gif]]
[[PageName | Attach:image.gif"alt text"]]
[[http://example.com/ | Attach:image.gif"alt text"]]
%rframe thumb% [[Attach:image.gif | Attach:image.gif"alt text"]] | Caption
Start-of-line markupListsSee List Styles, Wiki styles and Cookbook:Outline lists
:
Headings!! Heading
!!! Deeper heading
Paragraph blocks-> indented text
-< hanging indent
<space> preformatted text
[@...@] preformatted block
---- (horizontal rule)
blank line is vertical space
\ at end of line joins next line
\\ at end of line produces a line break
\\\ at the end of a line produces a blank line, even within a list item
[[<<]] produces a line break that clears floating content
Division blocksSee Block markup, Wiki styles and Page directives >>wikistyle<<
(:div attr:)
(:divend:)
>><<
Text markupCharacter format''emphasized''
'''strong'''
'''''strong emphasis'''''
'~italic~' (if enabled in config.php)
'*bold*' (if enabled in config.php)
@@monospaced@@
[-small-], [--smaller--]
[+big+], [++bigger++]
'-small-', '+big+'
'^superscript^', '_subscript_'
{+inserted+} (underscore)
{-deleted-} (strikethrough)
[@escaped code@]
[=escaped text=]
Posting markup~~~ (author's signature)
~~~~ (author's signature and date)
(:encrypt phrase:) -- replaced with encrypted form of phrase
TablesPlain rows and columns of textSee Tables
Structured tablesSee Table directives
DirectivesPage directivesSee Page directives (:redirect PageName:)
(:(no)spacewikiwords:)
(:(no)linkwikiwords:)
(:(no)linebreaks:)
(:nl:) insert newline in the *markup* only if one isn't present. The purpose of (:nl:) is to be able to write things like:
(:include Page1:)(:nl:)(:include Page2:)
which guarantees that the first line of Page2 is treated as a separate line from the last line of Page1, but without inadvertently generating a blank line between them.
DisplaySee Page directives Group headers (:noheader:), (:nofooter:)
(:notitle:)
(:noleft:), (:noright:)
(:nogroupheader:), (:nogroupfooter:)
(:noaction:)
MetadataSee Page directives, Comment markup, Page text variables (:title text:)
(:keywords word, ...:)
(:description text:)
(:comment text:)
{Group/PageName$:Var} includes from (:name:text:)
IncludeSee Include other pages, Page text variables (:include PageName:)
(:include PageName #start#end lines=n paras=n:)
(:include Page1 Page2 Page3:)
{Group/PageName$:Var} includes from (:name:text:)
Conditional markup(:if (!) cond param:)...(:ifend:):
(:if (!) cond param:)...(:else:)...(:ifend:):
(:if (!) cond param:)...(:elseif (!) cond param:)...(:ifend:):
PagelistsSee Page lists (:searchbox group=Group size=size label=label target=Group.Page fmt=def list=ghi order=jkl:)
(:searchresults incl -excl group=abc fmt=def list=ghi order=jkl:)
(:pagelist incl -excl group=abc fmt=def list=ghi order=jkl:)
Other directivesSee Page Directives (:markup:)...(:markupend:)
(:markup class=horiz:)...(:markupend:)
(:markup caption='...':)...(:markupend:)
FormsSee Forms
Edit forms(:messages:)
(:input e_form:)
(:e_guibuttons:)
(:e_preview:)
(:input e_textarea rows=24 cols=60:)
(:input e_author value={$Author} size=40:)
(:input e_changesummary value="Summary" size=60:)
(:input e_savebutton value=$[Save]:)
(:input e_saveeditbutton value=$[Save and edit]:)
(:input e_previewbutton value=$[Preview]:)
(:input e_resetbutton value=$[Reset]:)
Wiki trailsSee Wiki trails <<|TrailPage|>>
<|TrailPage|>
^|TrailPage|^
Page variablesSee Page variables, Page text variables, Page lists {$variable}
{pagename$variable}
(:name:description:) sets a page text variable
Expressions{(function args)}
<< Text formatting rules | Documentation Index | Uploads >> |