This is an old revision of the document!
Table of Contents
xbr plugin
Compatible with DokuWiki
anteater, rincewind, angua, adora belle
Description
This plugin enables the preservation of line breaks from the raw wiki text through to the html output. It is a replacement for the standard DokuWiki XHTML renderer, as such to use it you must set the renderer_xhtml setting to the plugin's name, 'xbr'
. For simplicity's sake the plugin uses all of the standard renderers routines with the exception of plain character output, where it uses its own routine to replace new lines with the HTML element, <br />
.
Note, the plugin does not preserve multiple consecutive line breaks, but it will preserve single line breaks.
Also see the linebreak plugin.
Download and Installation
Download and install the plugin in the normal manner.
After installation set the renderer_xhtml configuration setting (via your wiki's admin panel) to 'xbr'
.
Revision History
- 2008-06-30 — include Danny Lin's suggestions and move code to GitHub
- 2008-11-11 — installable packages and darcs versions prepared. No changes.
- 2008-08-13 — released
Bugs
To Do (feature requests)
Discussion / Requests for help
As someone new to Dokuwiki who has never installed a plugin before, the statement “Download and install the plugin in the normal manner” is not very helpful. Would it be possible to replace that with a link to the download, and link to whatever documentation dokuwiki maintins regarding installing plugins?