blob: 94c718f9f82a522339f9f90438d7242afb9c6268 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
(use-package markdown-mode :ensure t :defer t)
(add-to-list 'auto-mode-alist '("README\\.md\\'" . gfm-mode))
(add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode))
(add-to-list 'auto-mode-alist '("\\.markdown\\'" . markdown-mode))
(with-eval-after-load 'evil
(evil-define-key 'normal markdown-mode-map
(kbd "<RET>") 'markdown-follow-link-at-point))
(setq markdown-command '("pandoc" "--from=markdown" "--to=html5"))
(provide 'init-markdown)
|