diff --git a/ox-reveal.el b/ox-reveal.el
index a432acc..f71bbbc 100644
--- a/ox-reveal.el
+++ b/ox-reveal.el
@@ -683,6 +683,9 @@ custom variable `org-reveal-root'."
;; Local files
(local-root-path (org-reveal--file-url-to-path root-path))
(local-reveal-js (org-reveal--choose-path local-root-path version "dist/reveal.js" "js/reveal.js"))
+ (reveal-4-plugin (if (eq 4 (org-reveal--get-reveal-js-version info))
+ (org-reveal-plugin-scripts-4 info)
+ (cons "" "")))
(in-single-file (plist-get info :reveal-single-file)))
(concat
;; reveal.js/js/reveal.js
@@ -703,12 +706,14 @@ custom variable `org-reveal-root'."
(concat
"\n"))
;; plugin headings
+ (if-format "%s\n" (car reveal-4-plugin))
"
\n"
+ (format "plugins: [%s]"
(mapconcat #'car plugin-info ",")))
;; No available plugin info found. Perhaps wrong plugin
;; names are given
- ""))
+ (cons nil nil)))
;; No plugins, return empty string
- "")))
+ (cons nil nil))))
(defun org-reveal-toc (depth info)
"Build a slide of table of contents."
(let ((toc (org-html-toc depth info)))
@@ -1291,9 +1296,6 @@ info is a plist holding export options."
\n"
(org-reveal--build-pre/postamble 'postamble info)
(org-reveal-scripts info)
- (if (eq 4 (org-reveal--get-reveal-js-version info))
- (org-reveal-plugin-scripts-4 info)
- "")
"