*/ // must be run within Dokuwiki if(!defined('DOKU_INC')) die(); require_once(dirname(__FILE__).'/table.php'); /** * This inherits from the table syntax, because it's basically the * same, just different output */ class syntax_plugin_semanticdata_list extends syntax_plugin_semanticdata_table { /** * Connect pattern to lexer */ function connectTo($mode) { $this->Lexer->addSpecialPattern('----+ *datalist(?: [ a-zA-Z0-9_]*)?-+\n.*?\n----+',$mode,'plugin_semanticdata_list'); } protected $before_item = '
  • '; protected $after_item = '
  • '; protected $before_val = ''; protected $after_val = ' '; /** * Create output */ function preList($clist, $data) { return '
    '; } }