From 4d828501a8cdcd16fce94507d0fe69b4920f142a Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Sat, 01 Jan 2022 08:06:25 +0000
Subject: [PATCH] Use pandoc if installed

---
 config.org |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/config.org b/config.org
index a75203b..6024c19 100644
--- a/config.org
+++ b/config.org
@@ -1363,7 +1363,8 @@
 Call pandoc on org buffer from org export.
 Need to add ~#+OPTIONS: H:99~ to enable large level header exports.
 #+BEGIN_SRC emacs-lisp
-  (use-package ox-pandoc)
+  (when (executable-find "pandoc")
+    (use-package ox-pandoc))
 #+END_SRC
 
 *** COMMENT Dokuwiki Wiki

--
Gitblit v1.9.3