1<?php 2if(!defined('DOKU_INC')) define('DOKU_INC',realpath(dirname(__FILE__).'/../../').'/'); 3if(!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN',DOKU_INC.'lib/plugins/'); 4require_once(DOKU_PLUGIN.'syntax.php'); 5require_once(__DIR__. '/../common.php'); 6 7class syntax_plugin_bbcodeextensions_hil extends BBCodeExt_simpletag_plugin_base { 8 9 function getSort() { return 160; } 10 function connectTo($mode){ 11 $this->Lexer->addEntryPattern($this->makepatterns('hil')[0], $mode, 'plugin_bbcodeextensions_hil'); 12 $this->setHTMLtag('mark'); 13 } 14 function postConnect() { 15 $this->Lexer->addExitPattern($this->makepatterns('hil')[1] ,'plugin_bbcodeextensions_hil'); 16 } 17 18} 19