summary refs log tree commit diff
path: root/emacs.d/modes/lang-markdown.el
blob: f4f544d89da2730c89d349a7139d6d9933976887 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
(use-package markdown-mode
  :ensure t
  :mode ("\\.\\(m\\(ark\\)?down\\|md\\)$" . markdown-mode)
  :config
  (progn
    (let ((preferred-markdown-impl "peg-markdown"))
      (when (executable-find preferred-markdown-impl)
        (setq markdown-command preferred-markdown-impl)))))

(provide 'lang-markdown)