Both macros work as the macros plantuml and flowchart but allow other Confluence macros nested inside.
This macro was added in version 5.6 of the PlantUML Plugin. It requires Confluence >= 4.
Preformatted
for PlantUML codeDebug
option to determine which PlantUML code was generated. Often a missing newline or space is the cause of such problems.{code}
macro as it emits the code inside a CDATA block.The PlaySQL and the SQL plugin select data from a SQL database.
The following example uses the SQL Plugin version 4.2.2 (the latest free version) to select the page hierarchy from Confluence's Demonstation Space.
Here we are using the Play SQL Plugin to select the data which should be drawn as a sequence diagram. The selection is shown inside the Code Block.
Create a Confluence page containing only a noformat
macro with the PlantUML code inside.
This Confluence page can be included in the plantumlrender
macro using the include
macro: