plugin:linebreak
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:linebreak [2010-11-09 10:53] – [Discussion] 211.47.84.197 | plugin:linebreak [2018-06-04 23:00] (current) – Klap-in | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== linebreak | + | ====== linebreak |
---- plugin ---- | ---- plugin ---- | ||
Line 7: | Line 7: | ||
type : syntax, action | type : syntax, action | ||
lastupdate : 2007-01-20 | lastupdate : 2007-01-20 | ||
- | compatible : | + | compatible : Weatherwax |
depends | depends | ||
conflicts | conflicts | ||
Line 17: | Line 17: | ||
[[: | [[: | ||
- | **Use [[http:// | + | **Use [[plugin: |
Linebreak is a hack from the time before render plugins were possible.\\ | Linebreak is a hack from the time before render plugins were possible.\\ | ||
Its reported not to work (at least in some wikis) with the latest version of DokuWiki. | Its reported not to work (at least in some wikis) with the latest version of DokuWiki. | ||
Line 25: | Line 25: | ||
- | ^ :!: | Packages updated to include functions missing from 2006-03-09 DokuWiki. | | + | ^ :!: | Packages updated to include functions missing from 2006-03-09 DokuWiki. |
This [[:plugin]] changes the way DokuWiki treats single line break in the raw wiki text - instead of the default behaviour, where the line break is absorbed, it will generate a line break in the HTML output. | This [[:plugin]] changes the way DokuWiki treats single line break in the raw wiki text - instead of the default behaviour, where the line break is absorbed, it will generate a line break in the HTML output. | ||
Line 40: | Line 40: | ||
===== Installation ===== | ===== Installation ===== | ||
+ | Search and install the plugin using the [[plugin: | ||
Plugin sources: | Plugin sources: | ||
Line 46: | Line 47: | ||
* for DokuWiki development version --- [[http:// | * for DokuWiki development version --- [[http:// | ||
- | If your wiki uses either the [[plugin: | ||
- | To install the plugin manually, download the source to your plugin folder, '' | ||
- | |||
- | The folder will contain: | ||
- | syntax.php | ||
- | conf/ | ||
- | conf/ | ||
- | lang/ | ||
- | |||
- | The plugin is now installed. | ||
===== Configuration ===== | ===== Configuration ===== | ||
Line 208: | Line 199: | ||
* plugin should use this method to register its handlers with the DokuWiki' | * plugin should use this method to register its handlers with the DokuWiki' | ||
*/ | */ | ||
- | function register(&$controller) { | + | function register(Doku_Event_Handler |
$controller-> | $controller-> | ||
$controller-> | $controller-> | ||
Line 369: | Line 360: | ||
>>>>> | >>>>> | ||
- | * Just installed this plug-in (from 2007-01-20), | + | * Just installed this plug-in (from 2007-01-20), |
* I've noticed that a line break doesn' | * I've noticed that a line break doesn' | ||
Line 441: | Line 432: | ||
**Source** | **Source** | ||
- | <html> | + | <code> |
- | ====== test ======\\ | + | ====== test ====== |
- | \\ | + | |
- | Hello, world.\\ | + | Hello, world. |
- | \\ | + | |
====== temp ====== | ====== temp ====== | ||
- | </html> | + | </code> |
**clicking middle edit button** | **clicking middle edit button** | ||
- | <html> | + | <code> |
- | ==\\ | + | |
- | \\ | + | |
- | Hello, world.\\ | + | |
- | \\ | + | |
- | ====== temp ===== | + | |
- | </html> | + | |
+ | == | ||
+ | |||
+ | Hello, world. | ||
+ | |||
+ | ====== temp ===== | ||
+ | </ |
plugin/linebreak.1289296400.txt.gz · Last modified: 2010-11-09 10:53 by 211.47.84.197