Predefined WikiStyles
This page will evenutally document the predefined WikiStyles that are
available in a standard installation of
PmWiki.
-
%comment%comment...%%
- list of styles available: 'color', 'bgcolor', 'font-size', 'font-family', 'font-style', 'font-weight', 'text-decoration', 'class', 'target', 'rel', 'hspace', 'vspace', 'width', 'height'
- list of colors available: 'black', 'white', 'red', 'yellow', 'blue', 'gray', 'silver', 'maroon', 'green', 'navy', 'purple', 'darkgreen'
The style
%comment%comment...%%
can be used to embed comments that are not shown. For a multiline comment, write something like this:
%comment% [=
This is a longer block
of text that has been commented out
by the %comment% markup. =]
List the standard predefined WikiStyles here
Predefining additional WikiStyles
The administrator can permanently define additional styles by adding entries to the array called $WikiStyle. For example, in order to permanently add a
%U%
as new
WikiStyle that underlines, add this code to
local/config.php
:
$WikiStyle['U']['text-decoration'] = 'underline';
See WikiStylesAdmin for more information.