blob: 2a4fa5f6b408dec61e0eedf1e29521ca2edac414 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
(use-package markdown-mode
:mode
;; use markdown mode for .md and .markdown extensions
("\\.\\(md\\|markdown\\)\\'" . gfm-mode)
:config
(add-hook 'markdown-mode-hook
(lambda ()
;; disable electric indent
(setq-local electric-indent-mode nil)
;; enable flyspell
(when (featurep 'flyspell) (flyspell-mode 1)))))
(provide 'init-markdown-mode)
|