summary refs log tree commit diff
path: root/emacs.d/modules/module-markdown.el
blob: 7d993b44c8f3f097f014ecc3dd83d3f9b8c903bf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
(require 'config-package)

(use-package markdown-mode
  ;; mode to support files in the Markdown format
  :ensure t

  :commands (markdown-mode gfm-mode)

  :mode (("\\.md\\'"       . gfm-mode)
         ("\\.markdown\\'" . gfm-mode))

  :init (setq markdown-command "pandoc -f markdown_github -c https://goo.gl/OVmlwT --self-contained")

  :config
  (add-hook 'gfm-mode-hook 'visual-line-mode))

(provide 'module-markdown)