From 1c855a6421964dad5dc372c7d47bcb9db36b0ef6 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 5 Jun 2018 15:51:53 -0700 Subject: [emacs] Some cleanup for markdown. --- emacs.d/modules/module-markdown.el | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/emacs.d/modules/module-markdown.el b/emacs.d/modules/module-markdown.el index 7d993b4..af34933 100644 --- a/emacs.d/modules/module-markdown.el +++ b/emacs.d/modules/module-markdown.el @@ -1,16 +1,9 @@ -(require 'config-package) - (use-package markdown-mode - ;; mode to support files in the Markdown format - :ensure t - :commands (markdown-mode gfm-mode) - :mode (("\\.md\\'" . gfm-mode) ("\\.markdown\\'" . gfm-mode)) - - :init (setq markdown-command "pandoc -f markdown_github -c https://goo.gl/OVmlwT --self-contained") - + :init (setq markdown-command "pandoc -f markdown_github -c https://goo.gl/OVmlwT --self-contained" + markdown-header-scaling 't) :config (add-hook 'gfm-mode-hook 'visual-line-mode)) -- cgit 1.4.1