table
*
* @author Pavel Korotkiy (outdead)
* @license MIT (https://opensource.org/license/mit/)
*/
if (!defined('DOKU_INC')) die();
if (!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN', DOKU_INC.'lib/plugins/');
require_once(DOKU_PLUGIN.'syntax.php');
class syntax_plugin_vertical extends DokuWiki_Syntax_Plugin {
function getInfo(){
return array(
'author' => 'outdead',
'email' => 'paul.korotkiy@gmail.com',
'date' => '2023-07-11',
'name' => 'Table Vertical Align',
'desc' => 'Simple plugin to configure vertical-align in tables',
'url' => 'https://github.com/outdead/dokuwiki-plugin-vertical',
);
}
function getType() {
return 'container';
}
function getPType() {
return 'normal';
}
function getAllowedTypes() {
return array('container', 'substition', 'protected', 'disabled', 'formatting', 'paragraphs');
}
function getSort() {
return 137;
}
function connectTo($mode) {
$this->Lexer->addEntryPattern('