1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-06-06 18:30:52 +00:00

Merge pull request #802 from The-Lum/ImproveStyleJson

add: `hide` as NOP on style for JSON or YAML diagram
This commit is contained in:
PlantUML 2021-11-25 22:50:51 +01:00 committed by GitHub
commit 1afbb8f35c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,6 +66,8 @@ public class StyleExtractor {
// Ignore
} else if (line.getString().trim().startsWith("!pragma ")) {
// Ignore
} else if (line.getString().trim().startsWith("hide ")) {
// Ignore
} else if (line.getString().trim().startsWith("title ")) {
this.title = line.getString().trim().substring("title ".length()).trim();
} else if (line.getString().trim().startsWith("skinparam ")) {