|
|
|
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 TWikiPlugin based on EmptyPlugin if you plan to offer some complex rendering or other functionality.
Custom rendering rules of the default plugin:
- Allow old include syntax (
%INCLUDE:"TopicName"% ) if Plugin Preferences variable OLDINCLUDE is set to 1
- Render depreciated
*_text_* as bold italic text. Test if installed: This is bold italic
- Enable JosWiki rules if JosWiki specific code is uncommented
Modify file TWiki/Plugins/DefaultPlugin.pm to add your own rules or to enable JosWiki rules.
Plugin preferences are stored as preferences variables. To reference
a plugin preference write %<plugin>_<preference>% , i.e. %DEFAULTPLUGIN_SHORTDESCRIPTION%
- One line description, is included in the TextFormattingRules topic:
- Set SHORTDESCRIPTION = This plugin can be used to specify some simple custom rendering rules. It also renders depreciated
*_text_* as bold italic text.
- Allow depreciated
%INCLUDE:"TopicName"% syntax:
- This plugin is preinstalled, you do not need to install it.
Related Topics: TWikiPreferences, TWikiPlugins, EmptyPlugin
-- AndreaSterbini - 27 Feb 2001
-- PeterThoeny - 08 Jul 2001
|
|
|