summaryrefslogtreecommitdiff
path: root/TWiki/DefaultPlugin.mdwn
blob: fcfa1fca5734f335be01bf4244888048f1e3072a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
**Default TWiki Plugin**

The default plugin is used for some depreciated rendering of older TWiki versions and of JosWiki. This plugin can also be used to specify some simple custom rendering rules. **_Note:_** Create a new [[TWikiPlugins]] based on [[EmptyPlugin]] if you plan to offer some complex rendering or functions.

Custom rendering rules of the default plugin:

* Allow old include syntax ( <code>**%INCLUDE:"TopicName"%**</code> ) if [[TWikiPreferences]] variable <code>**DEFAULTPLUGIN\_OLDINCLUDE**</code> is set to <code>**1**</code>
* Render depreciated <code>**\*\_text\_\***</code> as **_bold italic_** text. Test if installed: **\_This is bold italic\_**
* Enable JosWiki rules if JosWiki specific code is uncommented

Modify file <code>**TWiki/Plugins/DefaultPlugin.pm**</code> to add your own rules or to enable JosWiki rules.

**_Related Topics:_** [[TWikiPreferences]], [[TWikiPlugins]], [[EmptyPlugin]]

-- [[Main/PeterThoeny]] - 13 Mar 2001 <br />