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 revision Previous revision
Next revision
Previous revision
plugin:header3 [2015-07-26 20:29]
ach dokubug => bug
plugin:header3 [2019-08-20 14:50] (current)
Aleksandr
Line 2: Line 2:
  
 ---- plugin ---- ---- plugin ----
-description:​ Allows markup syntax in the header and keeps your linebreaks like you entered them in the editscreen.+description:​ Allows markup syntax in the header and keeps your linebreaks like you entered them in the editscreen
 author ​    : Max Westen ​ author ​    : Max Westen ​
 email      : max@dlmax.org ​ email      : max@dlmax.org ​
 type       : syntax, renderer type       : syntax, renderer
 lastupdate : 2013-02-04 lastupdate : 2013-02-04
-compatible : adora belle+compatible : Adora Belle
 depends ​   :  depends ​   : 
 conflicts ​ : include, tcycle conflicts ​ : include, tcycle
-similar ​   : header2, xbr, linebreak+similar ​   : header2, xbr, linebreak, wikiformatstyling
 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:​wikiformatstyling|Wiki-Style Script]] instead.
  
 ===== Description ===== ===== Description =====
Line 27: Line 29:
 ===== 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 '[[config:renderer_xhtml]]' to "​Header3"​ in the configuration manager.**
  
 :!: The TOC is rendered by metadata renderer instead of xhtml renderer in general '​show'​ action. However in '​preview'​ mode the TOC is rendered by xhtml renderer. So in //few// situations you'll find the TOC different in preview and in show mode. (mostly it doesn'​t happen since metedata renderer renders '​abstract'​ for the article and what it does is to have all markups parsed except no html tags) :!: The TOC is rendered by metadata renderer instead of xhtml renderer in general '​show'​ action. However in '​preview'​ mode the TOC is rendered by xhtml renderer. So in //few// situations you'll find the TOC different in preview and in show mode. (mostly it doesn'​t happen since metedata renderer renders '​abstract'​ for the article and what it does is to have all markups parsed except no html tags)
Line 57: Line 59:
 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. 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.
  
-==== How to 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'​s ​(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();\\
Line 72: Line 74:
 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.1437935358.txt.gz · Last modified: 2015-07-26 20:29 by ach