summaryrefslogtreecommitdiff
path: root/lisp/markdown.el
blob: 05239138e9b55582fb4dfb5f81e2dc2ce0217f4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

;;; Code:
(autoload 'markdown-mode "markdown-mode"
  "Use the markdown-mode package to provide 'markdown-mode on-demand."
  t)
(use-package markdown-mode
  :commands (markdown-mode gfm-mode)
  :mode (("README\\.md\\'" . gfm-mode)
         ("\\.md\\'" . markdown-mode)
         ("\\.markdown\\'" . markdown-mode))
  :init (setq markdown-command "pandoc"))

(provide 'markdown)
;;; markdown.el ends here