Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Purpose

Excerpt

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.

 

Warning

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.

attachmentname

 Name of attached SVG graphics which should be shown.

Sample Images

Scaled PNG vs. SVG (upper right corner)

SVG macro in editor

Sample Code

Code Block
{svg:attachmentname=class_diagram.svg}
{svg:spacepage=PUML|page=:UML Diagrams|attachmentname=class_diagram.svg}

Macro Browser