blob: a95b3c80ab95c98ca83004f293215facddd3dcac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
;;; 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))
(add-hook 'markdown-mode-hook '(lambda () (setq fill-column 80)))
(add-hook 'markdown-mode-hook 'auto-fill-mode)
(provide 'markdown)
;;; markdown.el ends here
|