WikiFormatting

This group of documents is a guide for how to use different formatting techniques you'll find in the wiki.

Defined format blocks

You can create format definitions for use in documents as shown here. Here are some examples of defining blocks with different colour text and backgrounds with margins to indent, scrollbars when needed, and padding so the scrollbars don't cover text.

%define=note block bgcolor=lightblue color=black margin-right=5em margin-left=5em padding=1em overflow=auto %
%define=info block bgcolor=lightgrey color=black margin-right=5em margin-left=5em padding=1em overflow=auto %
%define=warn block bgcolor=yellow color=black margin-right=5em margin-left=5em padding=1em overflow=auto %
%define=alert block bgcolor=lightpink color=black margin-right=5em margin-left=5em padding=1em overflow=auto %
%define=commands block bgcolor=black color=white margin-right=5em margin-left=5em padding=1em overflow=auto %
%define=config block bgcolor=darkgrey color=white margin-right=5em margin-left=5em padding=1em overflow=auto %
%define=example block bgcolor=lightgrey color=black margin-right=5em margin-left=5em padding=1em overflow=auto %

You use them by starting the block with the defined name wrapped in % like this %example%.

Standard PmWiki colours

black black
blue blue
gray or grey gray grey
green green
maroonmaroon
navy navy
purplepurple
red red
silversilver
white white
yellowyellow

WikiStyle Examples

You can add colour and simple formatting rules using wikiStyles. The defines above are part of the wikiStyle syntax. There are built in defines for things like colours. PmWiki:WikiStyleExamples PmWiki:WikiStyleColors