From 50f5a4210683adb91cde2ccd9f4983c6a6e58f89 Mon Sep 17 00:00:00 2001 From: SeWook Oh Date: Fri, 10 May 2024 17:26:06 +0100 Subject: [PATCH] plantuml: add metadata-related commands (#12763) --- pages/common/plantuml.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pages/common/plantuml.md b/pages/common/plantuml.md index a1ca3a59e..57a444d23 100644 --- a/pages/common/plantuml.md +++ b/pages/common/plantuml.md @@ -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}}`