diff options
Diffstat (limited to '')
-rw-r--r-- | emacs/custom/my-text.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/emacs/custom/my-text.el b/emacs/custom/my-text.el index 53a3c19..b4f7c28 100644 --- a/emacs/custom/my-text.el +++ b/emacs/custom/my-text.el @@ -14,6 +14,8 @@ (dolist (hook '(prog-mode-hook conf-mode-hook)) (add-hook hook 'flyspell-prog-mode)) +(add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode)) + (customize-set-variable 'markdown-fontify-code-block-natively t) (when (executable-find "pandoc") (customize-set-variable 'markdown-command "pandoc -f markdown -t html")) |