summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2018-06-05 15:51:53 -0700
committerFranck Cuny <franck.cuny@gmail.com>2018-06-05 15:51:53 -0700
commit1c855a6421964dad5dc372c7d47bcb9db36b0ef6 (patch)
treeabf94a77ac3845b85809146f3000cbd5119efc19
parent[emacs] Some clean up for the server. (diff)
downloademacs.d-1c855a6421964dad5dc372c7d47bcb9db36b0ef6.tar.gz
[emacs] Some cleanup for markdown.
-rw-r--r--emacs.d/modules/module-markdown.el11
1 files 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))