*/ 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_cardheader extends syntax_plugin_mikioplugin_core { public $tag = 'card-header'; public $requires_tag = 'card'; public $hasEndTag = true; public function __construct() { $this->addCommonOptions('text-align text-color'); } public function getPType() { return 'normal'; } public function render_lexer_enter(Doku_Renderer $renderer, $data) { $classes = $this->buildClass($data); $styles = $this->buildStyle(array( 'color' => $data['text-color'], ), true); $renderer->doc .= '