diff --git a/modules/lang/markdown/doctor.el b/modules/lang/markdown/doctor.el index 353453365..00167df56 100644 --- a/modules/lang/markdown/doctor.el +++ b/modules/lang/markdown/doctor.el @@ -4,3 +4,8 @@ (when (featurep! +pandoc) (unless (executable-find "pandoc") (warn! "Couldn't find pandoc, markdown-mode may have issues"))) + +(when (require 'markdown-mode nil t) + (unless (executable-find markdown-command) + (warn! "Couldn't find %S, can't export markdown to html" + markdown-command)))