20 lines
474 B
EmacsLisp
20 lines
474 B
EmacsLisp
;;; pandoc.el --- Interface to Pandoc -*- lexical-binding: t; -*-
|
|
;;; Commentary: An Emacs mode for interacting with Pandoc
|
|
;;; Code: https://github.com/joostkremers/pandoc-mode
|
|
|
|
(defun user--pandoc-mode-hook ()
|
|
"Pandoc mode hook."
|
|
(pandoc-load-default-settings))
|
|
|
|
|
|
(use-package pandoc-mode
|
|
:if (executable-find "pandoc")
|
|
:defer
|
|
:diminish pandoc-mode
|
|
:init
|
|
(add-hook 'pandoc-mode 'user--pandoc-mode-hook))
|
|
|
|
|
|
(provide 'utilities/pandoc)
|
|
;;; pandoc.el ends here
|