diff options
Diffstat (limited to 'emacs.d/custom/fcuny-text.el')
-rw-r--r-- | emacs.d/custom/fcuny-text.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/emacs.d/custom/fcuny-text.el b/emacs.d/custom/fcuny-text.el index 37a1338..a16c7a8 100644 --- a/emacs.d/custom/fcuny-text.el +++ b/emacs.d/custom/fcuny-text.el @@ -20,6 +20,9 @@ :commands (markdown-mode gfm-mode) :mode (("README\\.md\\'" . gfm-mode) ("\\.md\\'" . gfm-mode) - ("\\.markdown\\'" . gfm-mode))) + ("\\.markdown\\'" . gfm-mode)) + :config + (when (executable-find "pandoc") + (setq markdown-command "pandoc -f markdown -t html"))) (provide 'fcuny-text) |