Table of Contents
xbr Plugin
Compatible with DokuWiki
- 2023-04-04 "Jack Jackrum" unknown
- 2022-07-31 "Igor" unknown
- 2020-07-29 "Hogfather" yes
- 2018-04-22 "Greebo" yes
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
Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.
After installation, go via your wiki's admin panel to the Configuration Settings, under “Advanced”, there is an option to change the renderer_xhtml setting 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)
- ~~LINEBREAK~~ / ~~NOLINEBREAK~~ directives support would be extremely helpful.