Skip to content

Commit

Permalink
plantuml: add metadata-related commands (#12763)
Browse files Browse the repository at this point in the history
  • Loading branch information
swoh816 committed May 10, 2024
1 parent 6800e10 commit 50f5a42
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pages/common/plantuml.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@

`plantuml -o {{path/to/output}} {{diagram.puml}}`

- Render a diagram without storing the diagram's source code (Note: It's stored by default when the `-nometadata` option isn't specified):

`plantuml -nometadata {{diagram.png}} > {{diagram.puml}}`

- Retrieve source from a `plantuml` diagram's metadata:

`plantuml -metadata {{diagram.png}} > {{diagram.puml}}`

- Render a diagram with the configuration file:

`plantuml -config {{config.cfg}} {{diagram.puml}}`
Expand Down

0 comments on commit 50f5a42

Please sign in to comment.