[pmwiki-users] paging

Patrick R. Michaud pmichaud at pobox.com
Fri Aug 4 12:35:24 CDT 2006

On Fri, Aug 04, 2006 at 06:32:19PM +0100, Hans wrote:
> I have done that. But I got a question while working on it:
> breakpage.php has this markup code in it, which seems not to do anything:
>    elseif ($action=='edit')
>      Markup('breakpage','>include','/\\(:breakpage:\\)/',
>        "\n<div class='breakpage'>&mdash; Page Break &mdash;</div>\n");
> What is the purpose of it? It does not add any div when editing.

It changes the meaning of the (:breakpage:) markup when previewing
the page from ?action=edit, by displaying "-- Page Break --"
instead of actually breaking the page.


More information about the pmwiki-users mailing list