From b0141c553ddd39654991c78d0f05e5812559840c Mon Sep 17 00:00:00 2001 From: Joel Pearson Date: Fri, 29 Mar 2024 12:37:40 +1100 Subject: [PATCH] Add PDF format for Plantuml Server (#545) PDF Support was added into Plantuml Server in this pull request: https://github.com/plantuml/plantuml-server/pull/257 --- src/plantuml/renders/plantumlServer.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/plantuml/renders/plantumlServer.ts b/src/plantuml/renders/plantumlServer.ts index fa8447f..de25865 100644 --- a/src/plantuml/renders/plantumlServer.ts +++ b/src/plantuml/renders/plantumlServer.ts @@ -28,7 +28,8 @@ class PlantumlServer implements IRender { return [ "png", "svg", - "txt" + "txt", + "pdf" ]; } /** @@ -82,4 +83,4 @@ class PlantumlServer implements IRender { return this.render(diagram, "map", savePath); } } -export const plantumlServer = new PlantumlServer(); \ No newline at end of file +export const plantumlServer = new PlantumlServer();