DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:header3

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
Next revisionBoth sides next revision
plugin:header3 [2014-10-10 22:59] – [Conflict] 188.109.3.107plugin:header3 [2018-11-15 12:33] – [How to make it work with DokuWiki version 2014-09-29a "Hrun" and above] sancaya
Line 1: Line 1:
-====== header3 Plugin ======+====== Header3 Plugin ======
  
 ---- plugin ---- ---- plugin ----
Line 9: Line 9:
 compatible : adora belle compatible : adora belle
 depends    :  depends    : 
-conflicts  : include+conflicts  : include, tcycle
 similar    : header2, xbr, linebreak similar    : header2, xbr, linebreak
 tags       : syntax, headings, typography tags       : syntax, headings, typography
  
-downloadurl: http://github.com/mwesten/dokuwiki-plugin-header3/zipball/master +downloadurl: https://github.com/mwesten/dokuwiki-plugin-header3/zipball/master 
-bugtracker : http://github.com/mwesten/dokuwiki-plugin-header3/issues +bugtracker : https://github.com/mwesten/dokuwiki-plugin-header3/issues 
-sourcerepo : http://github.com/mwesten/dokuwiki-plugin-header3/+sourcerepo : https://github.com/mwesten/dokuwiki-plugin-header3/
 donationurl:  donationurl: 
 ---- ----
 +
 +:!: **This plugin (and [[plugin:header2|the plugin Header2]]) became unavailable** due to a technical reason ([[https://forum.dokuwiki.org/thread/16109|See this conversation]]).  You can consider using [[plugin:wikistyle2html|Wiki-Style Script]] instead.
  
 ===== Description ===== ===== Description =====
 +
 This plugin enables the preservation of line breaks from the raw wiki text through to the html output and allows links and other markup in headers/headlines. This plugin enables the preservation of line breaks from the raw wiki text through to the html output and allows links and other markup in headers/headlines.
  
 Note, the plugin does not preserve multiple consecutive line breaks, but it will preserve single line breaks. Note, the plugin does not preserve multiple consecutive line breaks, but it will preserve single line breaks.
- 
- 
  
 ===== Installation and Usage ===== ===== Installation and Usage =====
  
-Download and install the plugin using the [[plugin:plugin|Plugin Manager]] using the URL given above. 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.
  
 After installation, **set 'renderer_xhtml' to "Header3" in the configuration manager**. After installation, **set 'renderer_xhtml' to "Header3" in the configuration manager**.
Line 50: Line 51:
   [[:start|Start]]   [[:start|Start]]
  
-This is due to a problem in the core metadata renderer in and before //dokuwiki-2010-11-07a “Anteater”//, which is already reported [[dokubug>2144|here]].+This is due to a problem in the core metadata renderer in and before //dokuwiki-2010-11-07a “Anteater”//, which is already reported [[bug>2144|here]].
  
-==== Conflict ====+==== Conflicts ====
  
 After activating this plugin and changing the xhtml renderer to header2 all my instances of the include plugin using "section" no longer work..the whole page is shown instead. Upon deactivating this plugin, the include works again. - Andy 2011/01/24 After activating this plugin and changing the xhtml renderer to header2 all my instances of the include plugin using "section" no longer work..the whole page is shown instead. Upon deactivating this plugin, the include works again. - Andy 2011/01/24
  
 +Conflict with [[tcycle]] because of Header3's renderer include br-tags between pairs of a-tags and tCycle try to switch css display:none/block on it, so an animation would have a pauses, equals to measures, choosed in tCycle syntax options.
  
-==== Make it work with DokuWiki's (2014-09-29a "Hrun"====+==== How to make it work with DokuWiki version 2014-09-29a "Hrun" and above ====
  
-I've found one provisional solution that worked for me! - Guenther, Oct. 10th, 2014+I've found one provisional solution that worked for me! - //Guenther, Oct. 10th, 2014//
  
-Change in DokuWiki'(2014-09-29a "Hrun"XHTML-Renderer /inc/parser/xhtml.php some methods from 'protected' to 'public':+Change in DokuWiki's XHTML-Renderer /inc/parser/xhtml.php some methods from 'protected' to 'public':
  
-Line 30: protected $sectionedits = array();+Line 30: protected $sectionedits = array();\\
 change to: public $sectionedits = array(); change to: public $sectionedits = array();
  
-Line 43: protected $lastlevel = 0;+Line 43: protected $lastlevel = 0;\\
 change to: public $lastlevel = 0; change to: public $lastlevel = 0;
  
-Line 45: protected $node = array(0, 0, 0, 0, 0);+Line 45: protected $node = array(0, 0, 0, 0, 0);\\
 change to: public $node = array(0, 0, 0, 0, 0); change to: public $node = array(0, 0, 0, 0, 0);
  
 +**PS**. [[plugin:xbr]] preserves (though only single) linebreaks; use it instead.
plugin/header3.txt · Last modified: 2020-02-24 12:30 by Aleksandr

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