summary refs log tree commit diff
path: root/emacs/custom/my-text.el
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-04-29 14:25:22 -0700
committerFranck Cuny <franck@fcuny.net>2022-04-29 14:25:22 -0700
commit35679fb33f87601b7bca2f3bddd80ce543d748ae (patch)
treeb79064ebca6a5e8e4751668ce8846efcc0f0e90c /emacs/custom/my-text.el
parentgit: bump the summary lenght to 70 characters (diff)
downloademacs.d-35679fb33f87601b7bca2f3bddd80ce543d748ae.tar.gz
my-text: add markdown to auto-mode
Diffstat (limited to 'emacs/custom/my-text.el')
-rw-r--r--emacs/custom/my-text.el2
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"))