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

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

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