git.fiddlerwoaroof.com
Browse code

chore(emacs): improve markdown display

Edward Langley authored on 09/06/2021 20:43:50
Showing 1 changed files
... ...
@@ -483,7 +483,14 @@ With a prefix ARG invalidates the cache first."
483 483
 
484 484
 
485 485
 
486
-(use-package markdown-mode :ensure t)
486
+(defun fwoar/markdown-mode-hook ()
487
+  (setf left-margin-width 10
488
+        right-margin-width 10))
489
+(use-package markdown-mode
490
+  :ensure t
491
+  :config
492
+  (add-hook 'markdown-mode-hook 'variable-pitch-mode)
493
+  (add-hook 'markdown-mode-hook 'fwoar/markdown-mode-hook))
487 494
 
488 495
 (use-package rainbow-delimiters :ensure t)
489 496