diff --git a/etc/conf.org b/etc/conf.org index a080eeb..c357dd6 100644 --- a/etc/conf.org +++ b/etc/conf.org @@ -1029,7 +1029,8 @@ Make font sizes smaller and less intrusive for headers #+BEGIN_SRC emacs-lisp (use-package markdown-mode :straight t - :hook (markdown-mode . outline-minor-mode)) + :hook ((markdown-mode . outline-minor-mode) + (markdown-mode . fci-mode))) (add-hook 'markdown-mode-hook (lambda () @@ -1040,6 +1041,7 @@ Make font sizes smaller and less intrusive for headers (set-face-attribute 'markdown-header-face-4 nil :weight 'normal :height heading-height) (set-face-attribute 'markdown-header-face-5 nil :weight 'normal :height heading-height)))) +(add-hook 'markdown-mode-hook #'nd/turn-on-auto-fill-maybe) #+END_SRC *** R-markdown R-markdown is enabled via polymode, which allows multiple modes in one buffer (this is actually as crazy as it sounds). In this case, the modes are yaml, R, markdown, and others. Installing =poly-R= will pull in all required dependencies.