plugin:clearer
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:clearer [2015-02-16 20:56] – Slightly more details KaiMartin | plugin: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-14, 2008-05-05, Hrun | + | compatible : >Hrun, Hogfather |
depends | depends | ||
conflicts | conflicts | ||
Line 17: | Line 17: | ||
sourcerepo : https:// | sourcerepo : https:// | ||
---- | ---- | ||
- | |||
===== Installation ===== | ===== Installation ===== | ||
- | Download the archive | + | Search |
- | + | ||
- | Install | + | |
- | + | ||
- | ===== Usage ===== | + | |
- | If you need to start the next line from the beginning, (leaving the long height of an image for example) just add three of \ the end of the line | + | |
- | + | ||
- | o----------o text line 1 | + | |
- | | | text line 2 | + | |
- | | | + | |
- | | | | + | |
- | o----------o | + | |
- | text line 3 | + | |
- | + | ||
- | If you don't add it at the end of line it will not work. | + | |
===== Syntax ===== | ===== Syntax ===== | ||
- | |||
- | Add three consequtive backslash (" | ||
Basic syntax: | Basic syntax: | ||
- | < | + | < |
Note, no space characters to the right of the three backslashes. | Note, no space characters to the right of the three backslashes. | ||
- | Example: | + | ===== Usage ===== |
+ | Add three consequtive backslash (" | ||
+ | < | ||
+ | The HTML will output all floats currently in buffer. The next line of regular text will start below. | ||
+ | |||
+ | ===== 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: | ||
+ | bulk text1 o----------o | ||
+ | bulk text2 | | | ||
+ | | ||
+ | | ||
+ | | ||
+ | bulk text3 | ||
+ | This can be achieved by: | ||
< | < | ||
- | {{image1}}text line 1\\ | + | {{ image1}} |
- | text line 2\\\ | + | bulk text1 \\ |
- | text line 3 | + | bulk text2 \\\ |
+ | bulk text3 | ||
</ | </ | ||
+ | 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: | ||
- | This will add to your html code after the current paragraph | ||
- | < |
plugin/clearer.1424116611.txt.gz · Last modified: 2015-02-16 20:56 by KaiMartin