Introduction
SnipSnap macros can be used to automate or ease some output. Available macros are listed in
snipsnap-help. Try some using the
sandbox.
Macros are enveloped in { and } characters. Then the macro name follows. If parameters are supplied, they follow the macro name divided by ':'. The macro can eiter take multiple parameters recognized by position or parameter-id. The parameter id is preceeding the parameter and followed by a '=' char. The parameter entries are divided by '|'.
Link
create
{link:description|target} result
wintermute's site
Anchor Macro result: 
create
Table
create
{table}
Header1 | Header2
cell 1 | cell 2
cell 3 | cell 4
{table}
result
| Header1 | Header2 |
|---|
| cell 1 | cell 2 |
| cell 3 | cell 4 |
Image
create
You may specify a local image (which has been uploaded via Image Upload on Edit). This image can than be referred within the snip only.
Beware: Image Upload currently does not work with: IE 6.0
You also may specify an external (
http://) image location for external images.
.
{image:img=marvright.gif|link=http://www.yahoo.com/|alt=marvin|align=float-right}
.
result
see the image…
Code
create
{code:java}
java.lang.String x = "Another Day";
{code}
result
java.lang.String x = "Another Day";