'.$indata['title'].'
'. DOKU_LF;} if ($indata['description']) {$renderer->doc .= ''.$indata['description'].'
'. DOKU_LF;} $renderer->doc .= '*/
class syntax_plugin_dwtimeline_timeline extends \dokuwiki\Extension\SyntaxPlugin
{
protected $box_open = false;
/** @inheritDoc */
public function getType()
{
return 'substition';
}
/** @inheritDoc */
public function getPType()
{
return 'stack';
}
/** @inheritDoc */
public function getSort()
{
return 180;
}
/**
* @return array Things that may be inside the syntax
*/
function getAllowedTypes() {
return array('container', 'formatting', 'substition', 'protected', 'disabled', 'paragraphs');
}
/**
* Set the EntryPattern
* @param type $mode
*/
public function connectTo($mode)
{
$this->Lexer->addEntryPattern('
'.$indata['description'].'
'. DOKU_LF;} $renderer->doc .= ''.$indata['description'].'
'. DOKU_LF;} $renderer->doc .= '