1 rizwank 1.1 %META:TOPICINFO{author="PeterThoeny" date="1079856725" format="1.0" version="1.6"}%
2 ---+ Default TWiki Plugin
3
4 The default plugin is used for some depreciated rendering of older TWiki versions and of <nop>JosWiki. This plugin can also be used to specify some simple custom rendering rules. __Note:__ Create a new [[%TWIKIWEB%.TWikiPlugins][TWikiPlugin]] based on EmptyPlugin if you plan to offer some complex rendering or other functionality.
5
6 ---++ Syntax Rules
7
8 Custom rendering rules of the default plugin:
9
10 * Allow old include syntax ( ==%<nop>INCLUDE:"TopicName"%== ) if Plugin Preferences variable ==OLDINCLUDE== is set to ==1==
11 * Render depreciated ==*_text_*== as __bold italic__ text. Test if installed: *_This is bold italic_*
12 * Enable <nop>JosWiki rules if <nop>JosWiki specific code is uncommented
13
14 Modify file ==TWiki/Plugins/DefaultPlugin.pm== to add your own rules or to enable <nop>JosWiki rules.
15
16 ---++ Plugin Settings
17
18 Plugin settings are stored as preferences variables. To reference
19 a plugin setting write ==%<nop><plugin>_<setting>%==, i.e. ==%<nop>DEFAULTPLUGIN_SHORTDESCRIPTION%==
20
21 * One line description, is shown in the %TWIKIWEB%.TextFormattingRules topic:
22 rizwank 1.1 * Set SHORTDESCRIPTION = This plugin can be used to specify some simple custom rendering rules. It also renders depreciated ==*_text_*== as __bold italic__ text.
23
24 * Allow depreciated ==%<nop>INCLUDE:"TopicName"%== syntax:
25 * Set OLDINCLUDE = 1
26
27 * Debug plugin: (See output in =data/debug.txt=)
28 * Set DEBUG = 0
29
30
31 ---++ Plugin Installation Instructions
32
33 * This plugin is preinstalled, you do not need to install it.
34
35 ---++ Plugin Info
36
37 | Plugin Author: | TWiki:Main.AndreaSterbini, TWiki:Main.PeterThoeny |
38 | Plugin Version: | 21 Mar 2004 |
39 | Change History: | <!-- versions below in reverse order --> |
40 | 21 Mar 2004: | Added afterSaveHandler |
41 | 14 Jul 2001: | Changed to plug&play |
42 | 27 Feb 2001: | Initial version |
43 rizwank 1.1 | CPAN Dependencies: | none |
44 | Other Dependencies: | none |
45 | Perl Version: | 5.0 |
46 | Plugin Home: | http://TWiki.org/cgi-bin/view/Plugins/%TOPIC% |
47 | Feedback: | http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%Dev |
48
49 __Related Topics:__ %TWIKIWEB%.TWikiPreferences, %TWIKIWEB%.TWikiPlugins, EmptyPlugin
50
51 -- TWiki:Main.AndreaSterbini - 27 Feb 2001 %BR%
52 -- TWiki:Main.PeterThoeny - 21 Mar 2004
|