Changes between Version 10 and Version 11 of GliffyMacro


Ignore:
Timestamp:
Dec 25, 2016, 7:35:07 AM (9 months ago)
Author:
figaro
Comment:

Moved example to functional description

Legend:

Unmodified
Added
Removed
Modified
  • GliffyMacro

    v10 v11  
    1212
    1313This plugin requires that you have a gliffy.com account. For API access you may need a paid account.
     14
     15An example call is as follows:
     16`[[GliffyDiagram(Test Doc 2|ROOT/myfolder)]]`
     17
     18Usage is as follows:
     19
     20`[[GliffyDiagram(filename|folder path|type|size)]]`
     21
     22The settings are as follows:
     23||filename||Required||Name of document to edit. If the document doesn't exist, then it will be created.||
     24||folder||Optional. Default is ROOT||Folder path to place document in. Folder must have been previously created on gliffy.com. The path that the Gliffy API uses is a little funny. All user created folders are under `ROOT/`, so if you create a "Work" folder, then the path you should supply would be: `ROOT/Work`||
     25||type||Optional. Default is png||Format of image to return. Valid values are: png, jpg, svg, xml||
     26||size||Optional. Default is M||Size of image to inline. Valid values: T, S, M, L||
    1427
    1528I haven't tested this with Trac 0.11, so I may need assistance there to make it compatible.
     
    4659}}}
    4760
    48 == Example
    49 
    50  * Example macro: `[[GliffyDiagram(Test Doc 2|ROOT/myfolder)]]`
    51  * Format is: `[[GliffyDiagram(filename|folder path|type|size)]]`
    52 
    53 ||**Filename**||**Required**||**Name of doc to edit (if doc doesn't exist it will be created)** ||
    54 ||folder||optional.  default is ROOT||Folder path to place document in. Folder must have been previously created on gliffy.com. The path that the Gliffy API uses is a little funny. All user created folders are under `ROOT/`, so if you create a "Work" folder, then the path you should supply would be: `ROOT/Work`||
    55 ||type||optional. default is png||Format of image to return. Valid values are: png, jpg, svg, xml||
    56 ||size||optional. default is M||Size of image to inline. Valid values: T, S, M, L||
    57 
    5861== Recent Changes
    5962