From 4634f3d808527b9223a216747a841619c63a8774 Mon Sep 17 00:00:00 2001 From: Tomas Janousek Date: Tue, 14 Apr 2020 11:49:20 +0200 Subject: [PATCH] Use svg for revealjs (HTML5 + JavaScript slides) --- pandoc_plantuml_filter.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pandoc_plantuml_filter.py b/pandoc_plantuml_filter.py index a2a7c3c..c675c8e 100755 --- a/pandoc_plantuml_filter.py +++ b/pandoc_plantuml_filter.py @@ -36,7 +36,8 @@ def plantuml(key, value, format_, _): caption, typef, keyvals = get_caption(keyvals) filename = get_filename4code("plantuml", code) - filetype = get_extension(format_, "png", html="svg", latex="png") + filetype = get_extension(format_, "png", html="svg", latex="png", + revealjs="svg") src = filename + '.uml' dest = filename + '.' + filetype