(doom) add colored headings for markdown

This commit is contained in:
qvalentin 2021-11-29 14:53:40 +01:00
parent c85d064145
commit 254e3714b3
2 changed files with 12 additions and 0 deletions

View File

@ -54,6 +54,7 @@
;; they are implemented. ;; they are implemented.
(require 'exec-path-from-shell) (require 'exec-path-from-shell)
(when (display-graphic-p) (when (display-graphic-p)
(exec-path-from-shell-initialize)) (exec-path-from-shell-initialize))

View File

@ -70,3 +70,14 @@
(defun my-load-xresources () (defun my-load-xresources ()
(my-refresh-wal-colors) (my-refresh-wal-colors)
(load-theme 'xresources t)) (load-theme 'xresources t))
;;;;; Markdown
(custom-set-faces!
'(markdown-header-face-1 :foreground "#1bae94" :height 1.25 :weight extra-bold :inherit markdown-header-face)
'(markdown-header-face-2 :foreground "#1bae94" :height 1.15 :weight bold :inherit markdown-header-face)
'(markdown-header-face-3 :foreground "#1bae94" :height 1.15 :weight bold :inherit markdown-header-face)
'(markdown-header-face-4 :foreground "#1bae94":height 1.15 :weight bold :inherit markdown-header-face)
'(markdown-header-face-5 :foreground "#1bae94" height 1.15 :weight bold :inherit markdown-header-face)
'(markdown-header-face-6 :foreground "#1bae94" :height 1.15 :weight extra-bold :inherit markdown-header-face))