DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:clearer

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:clearer [2015-02-16 21:19] – [Example] Like so KaiMartinplugin:clearer [2020-11-15 19:23] (current) zaher
Line 6: Line 6:
 email      : zaherdirkey@yahoo.com  email      : zaherdirkey@yahoo.com 
 type       : syntax type       : syntax
-lastupdate : 2012-06-09 +lastupdate : 2020-11-15 
-compatible : >2009-02-142008-05-05, Hrun+compatible : >HrunHogfather
 depends    :  depends    : 
 conflicts  conflicts 
Line 17: Line 17:
 sourcerepo : https://github.com/parmaja/clearer sourcerepo : https://github.com/parmaja/clearer
 ---- ----
- 
  
 ===== Installation ===== ===== Installation =====
-Download the archive and unpack it into ''<dokuwiki>/lib/plugins''. 
  
-Install the plugin using the [[plugin:plugin|Plugin Manager]] and the download URL above, which points to latest version of the plugin. Refer to [[:Plugins]] on how to install plugins manually.+Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
  
 ===== Syntax ===== ===== Syntax =====
 +
 Basic syntax: Basic syntax:
 <code>text \\\</code> <code>text \\\</code>
Line 30: Line 29:
  
 ===== Usage ===== ===== Usage =====
 +
 Add three consequtive backslash ("\") at the end of a line. This will add to your html code after the current paragraph Add three consequtive backslash ("\") at the end of a line. This will add to your html code after the current paragraph
 <code>...</p><div class="clearer" ></div></code> <code>...</p><div class="clearer" ></div></code>
Line 35: Line 35:
  
 ===== Example ===== ===== Example =====
 +
 A large image floating to the right should be accompanied by two sections of bulk text on the left. A third section of text should start after the the image. Like so: A large image floating to the right should be accompanied by two sections of bulk text on the left. A third section of text should start after the the image. Like so:
   bulk text1 o----------o   bulk text1 o----------o
Line 50: Line 51:
 </code> </code>
 The space after the curly brackets makes the image float to the right. The two backslashes after bulk text1 indicates a regular manual line break. The three backslashes at the end of bulk text2 forces bulk text3 to start below the bottom of the image. The space after the curly brackets makes the image float to the right. The two backslashes after bulk text1 indicates a regular manual line break. The three backslashes at the end of bulk text2 forces bulk text3 to start below the bottom of the image.
 +
 +===== Bugs and issues =====
 +
 +==== Problems with PHP 7.0 ====
 +
 +This plugin failed on our Dokuwiki instances after we migrated the servers to PHP 7.0 . We ended up using the plugin [[plugin:wrap]] to achieve the same effect.  --- [[user>KaiMartin|KaiMartin]] //2019-06-14 14:21//
 +
plugin/clearer.1424117967.txt.gz · Last modified: 2015-02-16 21:19 by KaiMartin

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