summaryrefslogtreecommitdiffstats
path: root/lisp/init-markdown.el
blob: 58645d1530c8d45f2b8b2b00791a5499ae108910 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
;;; init-markdown.el --- configure markdown language support
;;; Commentary:
;;; Code:

(use-package markdown-mode
  :ensure t
  :commands gfm-mode
  :mode
  ;; use gfm mode for .md and .markdown extensions
  (("\\.\\(md\\|markdown\\)\\'" . gfm-mode)
   ;; use gfm mode for pull request and issue buffers
   ("PULLREQ_EDITMSG" . gfm-mode)
   ("ISSUE_EDITMSG" . gfm-mode)))

(provide 'init-markdown)

;;; init-markdown.el ends here