'.DOKU_LF;
$this->slideopen = true;
return; // H2 is done, don't output h1 again below
}
// For H3+, just output the header normally
$this->doc .= '
';
$this->doc .= $this->_xmlEntities($text);
$this->doc .= ''.DOKU_LF;
}
/**
* Top-Level Sections are slides
*/
function section_open($level) {
// Store the current level for section_close()
$this->sectionlevel = $level;
// For H3+ (level 3+), open a regular div for content structure
if($level >= 3){
$this->doc .= '
'.DOKU_LF;
}
// For H1 and H2: slide and slidecontent divs are managed by header()
}
/**
* Close sections
*/
function section_close() {
// Only close divs for H3+ (level >= 3)
// H1 and H2 slides are closed by the next header() or document_end()
if($this->sectionlevel >= 3){
$this->doc .= '
'.DOKU_LF;
}
}
/**
* Throw away footnote
*/
function footnote_close() {
// recover footnote into the stack and restore old content
$footnote = $this->doc;
$this->doc = $this->store;
$this->store = '';
}
/**
* No acronyms in a presentation
*/
function acronym($acronym){
$this->doc .= $this->_xmlEntities($acronym);
}
/**
* A line stops the slide and start the handout section
*/
function hr() {
$this->doc .= '