diff --git a/bin/mdshow b/bin/mdshow index 23bde4393e758935d372fde4fab9590316f0dc79..026625fc1982f45878766bf784ca14ca0fb61da4 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 ec3a6b711d82befd3d5d41809ae552a233f2677b..2668128be6033116de9ebb81244ef58328e475ed 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)$