DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:xbr

This is an old revision of the document!


xbr plugin

Compatible with DokuWiki

anteater, rincewind, angua, adora belle, binky, ponder stibbons, Hrun

plugin replacement renderer, preserves line breaks present in raw wiki data

Last updated on
2012-06-30
Provides
Render
Repository
Source
Conflicts with
ckgedit, highlightjs

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 header3, linebreak

Tagged with typography

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

Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.

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

Does not work with Release 2014-09-29b “Hrun”
Test with success with Release 2014-09-29d “Hrun”.
This plugin have not dedicated section into the configuration manager. You need to change « renderer_xhtml » parameter in advanced settings.
I'm not the author but have change compatibility to OK in this page.

To Do (feature requests)

Discussion / Requests for help

plugin/xbr.1427580633.txt.gz · Last modified: 2015-03-28 23:10 by 81.65.15.105