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_smallcapsplus extends FormattingPlus_Syntax_Plugin {
8
9  function _getName() {
10    return 'SmallCaps+';
11  }
12  function _getDesc() {
13    return 'Formats text using small-caps. Syntax: !!small-caps!!';
14  }
15  function _getConfig() {
16    return 'smallcaps';
17  }
18
19  function _getFormatting() {
20    return array('open'=>'!!', 'close'=>'!!', 'tag'=>'strong', 'attrs'=>'class="smallcaps"');
21  }
22
23  function getSort() {
24    return 105;
25  }
26
27}
28