Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

Purpose

Display an attached SVG graphics in a wiki page

This allows you to display SVG graphics which were created with Macro plantuml.

Available since

This macro was added in version 5.4.3 of the PlantUML Plugin.

 

The  svg macro will only be available if it has been enabled by an administrator.

Enabling this macro makes your Confluence site vulnerable to cross-site scripting attacks.

Parameter

Parameter attachment is required, all others are optional.

Name

Description

spaceKey of space to create image for. Current space will be used if empty.
pageTitle of page where attachment will be taken from. Current page will be used if empty.

attachment

 Name of attached SVG graphics which should be shown.

Sample Images

Scaled PNG vs. SVG (upper right corner)

SVG macro in editor

Sample Code

{svg:attachment=class_diagram.svg}
{svg:space=PUML|page=UML Diagrams|attachment=class_diagram.svg}

Macro Browser

  • No labels