*/ 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_grid extends syntax_plugin_mikioplugin_core { public $tag = 'grid'; public $hasEndTag = true; public $options = array( 'rows' => array('type' => 'multisize'), 'cols' => array('type' => 'multisize'), ); public function getPType() { return 'normal'; } public function render_lexer_enter(Doku_Renderer $renderer, $data) { $styles = $this->buildStyle(array( 'grid-template-rows' => $data['rows'], 'grid-template-columns' => $data['cols'], ), TRUE); $renderer->doc .= '