1<?php
2// must be run within Dokuwiki
3if(!defined('DOKU_INC')) die();
4
5require_once(DOKU_PLUGIN.'formatplus/formatting.php');
6
7class syntax_plugin_formatplus_inverseplus extends FormattingPlus_Syntax_Plugin {
8
9  function _getName() {
10    return 'Inverse+';
11  }
12  function _getDesc() {
13    return 'Shows light-colored text on a dark background. (Or the other way around.)
14            Syntax: /!inverse!/';
15  }
16  function _getConfig() {
17    return 'inverse';
18  }
19
20  function _getFormatting() {
21    return array('open'=>'/!', 'close'=>'!/', 'tag'=>'em', 'attrs'=>'class="inverse"');
22  }
23
24  function getSort() {
25    return 109;
26  }
27
28}
29