* * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) * @author James Collins */ if (!defined('DOKU_INC')) die(); if (!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN',DOKU_INC.'lib/plugins/'); require_once(dirname(__FILE__).'/core.php'); class syntax_plugin_mikioplugin_listgroupitem extends syntax_plugin_mikioplugin_core { public $tag = 'listgroup-item'; public $options = array( 'active', 'disabled', 'type' => array('primary', 'secondary', 'success', 'danger', 'warning', 'info', 'light', 'dark') ); public function render_lexer_enter(Doku_Renderer $renderer, $data) { $classes = $this->buildClassString($data, array('active', 'disabled', 'type'), array('list-group-item-' => array('type'))); $renderer->doc .= '
  • '; } public function render_lexer_exit(Doku_Renderer $renderer, $data) { $renderer->doc .= '
  • '; } } ?>