diff options
author | Franck Cuny <franck@fcuny.net> | 2022-04-29 14:25:22 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-04-29 14:25:22 -0700 |
commit | 35679fb33f87601b7bca2f3bddd80ce543d748ae (patch) | |
tree | b79064ebca6a5e8e4751668ce8846efcc0f0e90c /emacs/custom | |
parent | git: bump the summary lenght to 70 characters (diff) | |
download | emacs.d-35679fb33f87601b7bca2f3bddd80ce543d748ae.tar.gz |
my-text: add markdown to auto-mode
Diffstat (limited to 'emacs/custom')
-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")) |