To create paragraphs, simply enter text. Use a blank line to start a new paragraph.
<br>
to force a line break.
Arrows (->
) at the beginning of a paragraph can be used to produce an indented paragraph. More hyphens at the beginning (--->
) produce larger indents.
->Four score and seven years ago our fathers placed upon this continent a new nation, conceived in liberty and dedicated to the proposition that all men are created equal. |
->Four score and seven years ago our fathers placed upon this continent a new nation, conceived in liberty and dedicated to the proposition that all men are created equal.
|
Inverted Arrows (-<
) at the beginning of a paragraph can be used to produce a paragraph with a hanging indent. Adding hyphens at the beginning (---<
) causes all the text to indent.
-<Four score and seven years ago our fathers placed upon this continent a new nation, conceived in liberty and dedicated to the proposition that all men are created equal. |
-<Four score and seven years ago our fathers placed upon this continent a new nation, conceived in liberty and dedicated to the proposition that all men are created equal.
|
--<Four score and seven years ago our fathers placed upon this continent a new nation, conceived in liberty and dedicated to the proposition that all men are created equal. And that food would be good to. |
--<Four score and seven years ago our fathers placed upon this continent a new nation, conceived in liberty and dedicated to the proposition that all men are created equal. And that food would be good to.
|
Bullet lists are made by placing asterisks at the left margin. Numbered lists are made by placing number-signs (#) at the left margin. More asterisks/number-signs increases the level of bullet:
* First-level list item ** Second-level list item ### Order this #### And this (optional) ### Then this ** Another second-level item * A first-level item: cooking ## Prepare the experiment ### Unwrap the pop-tart ### Insert the pop-tart into the toaster ## Begin cooking the pop tart ## Stand back |
* First-level list item
|
Also see: ListStyles, Cookbook:OutlineLists and Cookbook:NumberedHeaders
Definition Lists
Definition lists are made by placing colons at the left margin:
:term:definition of term ::second-level item: definition of 2nd-level item |
:term:definition of term
|
monospace
text
Other styling
'+big+', '-small-', '^super^', '_sub_', {+insert or underscore+}, {-delete or strikethrough or strikeout-} |
big, small, super, sub, insert or underscore,
|
`WikiWord
`WikiWord neutralisation
See also Wiki Styles for advanced text formatting options.
http:
", "ftp:
", "gopher:
", "mailto:
", or "news:
" to create links automatically, as in http://www.pmichaud.com/toast.
.gif
, .jpg
, or .png
are displayed as images in the page
[[#target]]
.
Headings are made by placing an exclamation mark (!) at the left margin. More exclamation marks increase the level of heading. For example,
<h1> Level 1 Heading <h2> Level 2 Heading <h> Level 3 Heading <h> Level 4 Heading |
Level 1 HeadingLevel 2 HeadingLevel 3 HeadingLevel 4 Heading
|
Anything placed between [= and =] is not interpreted by PmWiki. This makes it possible to turn off special formatting interpretations and neutralise WikiWords that are not links (even easier is to use a tick ` in front, like `WikiWord).
For preformatted text blocks, use the [@...@] markup.
[@ Code goes here like [[PmWiki.PmWiki]] '$CurrentTime $[by] $AuthorLink: [=$ChangeSummary=]'; #just some code @] |
Code goes here like [[PmWiki.PmWiki]] '$CurrentTime $[by] $AuthorLink: [=$ChangeSummary=]'; #just some code
|
It is also useful to use [= =] within other wiki structures, as this enables the inclusion of new lines in text values. The example below shows how to include a multi-line value in a hidden form field.
->
(:input hidden message "[=Line1 Line2=]":)
When creating pages it's common to use commercial trademarks, copyright, umlaut, and other non-keyboard symbols. therefore it's important that you have the means to input these special characters.
PmWiki supports the HTML special character listings by the w3c. W3C Page of Special Character codes ISO standard.
Here are some samples:
© | ¼ | ½ | ® | µ | ¨ |
© | ¼ | ½ | ® | µ | ¨
|
Æ | 32° | Unïted Stätes | ¶ | ¥Yen | PmWiki™ |
Æ | 32° | Unïted Stätes | ¶ | ¥Yen | PmWiki™
|
For a nice table of the same codes that show the codes with the output go to the Noble Desktop special character page.
Find the "Character Map" utility in your computer's System Tools folder. Click the symbol you're interested in, and note the keystroke information at the bottom of the box. You execute these by holding "Alt" while keying the numbers on the numerical keypad of your keyboard (not the numbers across the top of the board).
© = Alt+0169 = � | ® = Alt+0174 = � | ° = Alt+0176 = � (degrees).
There's a list of special characters at PmWiki:SpecialCharactersList.
There's another illustration at PmWiki:Characters
Tables are defined by enclosing cells with '||'. A cell with leading and trailing spaces is centered; a cell with leading spaces is right-aligned; all other cells are left-aligned. An empty cell will cause the previous cell to span multiple columns. (There is currently no mechanism for spanning multiple rows.) A line beginning with '||' specifies the table attributes for subsequent tables. A '!' as the first character in a cell provides emphasis that can be used to provide headings.
||border=1 width=50% ||!Table||!Heading||!Example|| ||!Left || Center || Right|| ||A ||! a B || C|| || || single || || || || multi span |||| |
||border=1 width=50%
|