Feature request for edit-button replacement by option
<code>
function header($text, $level, $pos) {
global $conf; //+++
$hid = $this->_headerToLink($text,true);
//only add items within configured levels
$this->toc_additem($hid, $text, $level);
// write the header
$this->doc .= DOKU_LF.'<h'.$level.'><a name="'.$hid.'" id="'.$hid.'">';
$this->doc .= $this->_xmlEntities($text);
//+++ Marker
if($conf['editsectionplace']) { // +++ New
if ($start!=-1 && $level<=$conf['maxseclevel']) {
//$this->doc .= '<!-- +!SECTION!+ -->'."</a>"."</h$level>".DOKU_LF;
$this->doc .= "</a>".'<!-- +!SECTION!+ -->'."</h$level>".DOKU_LF;
//$this->doc .= "</a>"."</h$level>".'<!--