From 9f2a0ee22ff5f894d3310c18d319fec8132dd365 Mon Sep 17 00:00:00 2001 From: Peter Thoeny Date: Mon, 9 Jul 2001 08:53:42 +0000 Subject: none --- TWiki/DefaultPlugin.mdwn | 62 ++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 57 insertions(+), 5 deletions(-) diff --git a/TWiki/DefaultPlugin.mdwn b/TWiki/DefaultPlugin.mdwn index fcfa1fca..1c0df902 100644 --- a/TWiki/DefaultPlugin.mdwn +++ b/TWiki/DefaultPlugin.mdwn @@ -1,15 +1,67 @@ -**Default TWiki Plugin** +## 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. +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 [[TWIKIWEBTWikiPlugins]] based on [[EmptyPlugin]] if you plan to offer some complex rendering or other functionality. + +### Syntax Rules Custom rendering rules of the default plugin: -* Allow old include syntax ( **%INCLUDE:"TopicName"%** ) if [[TWikiPreferences]] variable **DEFAULTPLUGIN\_OLDINCLUDE** is set to **1** +* 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. -**_Related Topics:_** [[TWikiPreferences]], [[TWikiPlugins]], [[EmptyPlugin]] +### %TOPIC% Preferences + +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 %TWIKIWEB%.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: + * Set OLDINCLUDE = 1 + +### Plugin Installation Instructions + +* This plugin is preinstalled, you do not need to install it. + +### Plugin Info + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Plugin Author: %TWIKIWEB%.AndreaSterbini, %TWIKIWEB%.PeterThoeny
Plugin Version: 08 Jul 2001
Change History: 08 Jul 2001: Changed to plug&amp;play
27 Feb 2001: Initial version
CPAN Dependencies: none
Other Dependencies: none
Perl Version: 5.0
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%
Feedback: http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%Dev
+ +**_Related Topics:_** %TWIKIWEB%.TWikiPreferences, %TWIKIWEB%.TWikiPlugins, [[EmptyPlugin]] --- [[Main/PeterThoeny]] - 13 Mar 2001
+-- %TWIKIWEB%.AndreaSterbini - 27 Feb 2001
-- %TWIKIWEB%.PeterThoeny - 08 Jul 2001
-- cgit v1.2.3