From fcfde38b751d21e24ab8f2f20145961eb1b23a7a Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Wed, 3 Mar 2021 13:40:11 +0100
Subject: [PATCH] Try adding plantuml

---
 bin/mdshow       | 2 +-
 default.revealjs | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/bin/mdshow b/bin/mdshow
index 23bde43..026625f 100755
--- a/bin/mdshow
+++ b/bin/mdshow
@@ -97,7 +97,7 @@ $(MDSHOW_CONFIG)/reveal.js:
 	mv $@/reveal.js-4.1.0/.??* $@/reveal.js-4.1.0/* $@
 	rmdir $@/reveal.js-4.1.0
 	cd $@ && \
-		npm install && npm add node-jq decktape gulp
+		npm install && npm add node-jq decktape gulp reveal-plantuml
 	# workarounds for the new reveal-js release
 	cd $@/dist && \
 		ln -s ../plugin .
diff --git a/default.revealjs b/default.revealjs
index ec3a6b7..2668128 100644
--- a/default.revealjs
+++ b/default.revealjs
@@ -85,6 +85,7 @@ $body$
   <script src="$revealjs-url$/plugin/search/search.js"></script>
   <script src="$revealjs-url$/plugin/notes/notes.js"></script>
   <script src="$revealjs-url$/plugin/highlight/highlight.js"></script>
+  <script src="$revealjs-url$/node_modules/reveal-plantuml/dist/reveal-plantuml.min.js"></script>
 
   <script>
 
@@ -290,7 +291,7 @@ $if(mathjax)$
 $endif$
 
         // Optional reveal.js plugins
-        plugins: [ RevealHighlight, RevealZoom, RevealNotes, RevealSearch, RevealMath ]
+        plugins: [ RevealHighlight, RevealZoom, RevealNotes, RevealSearch, RevealMath, RevealPlantUML ]
       });
     </script>
   $for(include-after)$
-- 
GitLab