[pmwiki-users] PmWiki 'Basic Editing' Documentation suggestion

Patrick R. Michaud pmichaud at pobox.com
Wed Jul 25 09:28:22 CDT 2007


On Wed, Jul 25, 2007 at 11:39:20AM +0300, Mildiner, Melvyn wrote:
> > Fair enough... Let's recommend emphasizing novices NOT use the \\ and 
> > \\\; and, still suggest blank lines.
> >
> 
> Not valuable to all users. My users *MUST* use \\ since the vast
> majority of the contents of our wiki consists of procedures. Current
> technical writing practice is to write the results of a step on a
> separate line aligned with the step i.e.
> 1. Do X
>    Now you see the window.
> 2. Click OK.
> 
> In order to get this result in pmWiki we need:
> 
> # Do X.\\
> Now you see the window.
> # Click OK.
> 
> Even without the alignment requirement, leaving out the \\ will break
> the numbering.

If you turn on (:linebreaks:), you can write it as:

  (:linebreaks:)
  # Do X.
    Now you see the window.
  # Click OK.

You can even make (:linebreaks:) the default for all pages -- add the following
to a local customization file:

    $HTMLPNewline = '<br />';

Then it just becomes:

  # Do X.
    Now you see the window.
  # Click OK.

Pm



More information about the pmwiki-users mailing list