AnyWikiDraw for PmWiki
Usage
To include a drawing in a PmWiki page, write the following tag in the
page:
(:drawing drawing.svg|width|height:)
- The tag needs to be put into smileys.
- The name of the tag is
drawing
- The parameter
drawing.svg
specifies the name of the drawing file.
- The drawing file can have one of the following extensions
.draw
, .svg
, .svgz
, .png
,
.jpg
.
- If you specify a drawing file that does not yet exist in your Wiki,
the drawing is created the first time you save a drawing.
- The parameter width specifies the width of the drawing.
- The parameter height specifies the height of the drawing.
Installation instructions
- This is an experimental cookbook. Data loss may occur. Install
it only on a Wiki system that does not contain critical data.
- This extension adds inline drawing editing support to your Wiki.
Make sure, that you have proper licenses for all drawings on your
Wiki.
- Deinstall the PmWikiDraw cookbook. AnyWikiDraw includes the
PmWikiDraw cookbook. Having them installed both will result into
conflicts between the two cookbooks.
- To activate this cookbook, place the AnyWikiDraw folder into
the cookbooks folder of your PmWiki server, and add the
following line to your config.php script:
include_once("cookbook/AnyWikiDraw/AnyWikiDraw.php");