diff options
author | Franck Cuny <fcuny@twitter.com> | 2018-09-23 18:09:53 -0700 |
---|---|---|
committer | Franck Cuny <fcuny@twitter.com> | 2018-09-23 18:09:53 -0700 |
commit | e1fae252ff03b6e78c0045ec37a6ea7c26d0264e (patch) | |
tree | 388293259a8e84f1be35452119e9805c371befe0 | |
parent | [emacs] set font size to 15 (diff) | |
download | emacs.d-e1fae252ff03b6e78c0045ec37a6ea7c26d0264e.tar.gz |
[emacs] Small improvement to markdown config.
-rw-r--r-- | configs/rcs/emacs.d/init.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/configs/rcs/emacs.d/init.el b/configs/rcs/emacs.d/init.el index 45cfd2c..fb30546 100644 --- a/configs/rcs/emacs.d/init.el +++ b/configs/rcs/emacs.d/init.el @@ -229,7 +229,11 @@ ;;; text formats (use-package markdown-mode - :after (flyspell)) + :after (flyspell) + :commands (markdown-mode gfm-mode) + :mode (("README\\.md\\'" . gfm-mode) + ("\\.md\\'" . markdown-mode) + ("\\.markdown\\'" . markdown-mode))) ;;; source control |