blob: 0e3b0af046eb00937a43dcc72e935cdf26fe18d3 (
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\\)\\'" . markdown-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)
|