It's better when it's simple

User Tools

Site Tools



Compatible with DokuWiki

Hrun, Frusterick Manners

plugin Forces ('suggests') a pagebreak after the line where a <pagebreak> tag is inserted

Last updated on

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Similar to pagebreak2, verinfo, wrap

Tagged with export, pagebreak, printing, typography


This plugin inserts a 'suggested' pagebreak when printing a wiki page. Nothing new is visible from a browser. This seemed like a much needed addition to DokuWiki, since the main use of DokuWiki is documentation. This is intended to help in the creation of hard-copies of a wiki, possibly with some sort of pdf/ps/gs printer.

Works well with the dw2pdf plugin and the odt plugin.


Insert a <pagebreak> tag on a line by itself where you want a pagebreak. Check with print preview.


Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.


Change Log

Known Bugs and Issues

Please report bugs and issues at the Github issue tracker.

The PageBreak plugin isn't maintained, and bugs seem ignored since 2018! Tag <br style=\“page-break-after:always;\”> is broken, <div>/</div> maby be better? $renderer→doc .= “<div style=\”page-break-after:always;\“></div>”;. This seems simple enough that it may be good to add it in dokuwiki core as ~~pagebreak~~ or similar?
plugin/pagebreak.txt · Last modified: 2023-08-16 18:15 by

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki