From dcfe2d6efd555386426ec34cbd77ecb66133a609 Mon Sep 17 00:00:00 2001 From: Lucas Sta Maria Date: Sun, 31 Dec 2023 09:26:00 -0500 Subject: [PATCH] fix(emacs): style markdown minimally Signed-off-by: Lucas Sta Maria --- .emacs.d/include/misc.el | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.emacs.d/include/misc.el b/.emacs.d/include/misc.el index 5ed0781..c8f3f0a 100644 --- a/.emacs.d/include/misc.el +++ b/.emacs.d/include/misc.el @@ -99,5 +99,15 @@ ;; Copilot (define-key copilot-completion-map (kbd "") 'copilot-accept-completion) +;; Markdown +(custom-set-faces + '(markdown-header-face-1 ((t (:inherit nano-strong :height 1.3 :family "Inter")))) + '(markdown-header-face-2 ((t (:inherit nano-strong :height 1.2 :family "Inter")))) + '(markdown-header-face-3 ((t (:inherit nano-strong :height 1.1 :family "Inter")))) + '(markdown-header-face-4 ((t (:inherit nano-strong :height 1.0 :family "Inter")))) + '(markdown-header-face-5 ((t (:inherit nano-strong :height 0.9 :family "Inter")))) + '(markdown-header-face-6 ((t (:inherit nano-strong :height 0.8 :family "Inter"))))) +(add-hook 'markdown-mode-hook #'markdown-toggle-fontify-code-blocks-natively) + (provide 'misc) ;;; misc.el ends here