markdown-mode icon indicating copy to clipboard operation
markdown-mode copied to clipboard

Suggestion: 'markdown-header-face-x' should inherit 'outline-x'

Open hikmet517 opened this issue 3 years ago • 0 comments

Org-mode header faces inherits outline headers, markdown is also a similar format (hierarchical, has headers). So it might inherit outline faces. Also themes usually customize outline faces, consequently this change would make markdown-mode compatible with most of the themes.

I'm using this code to achieve that now:

(dotimes (i 6)
  (set-face-attribute (intern (format "markdown-header-face-%d" (1+ i)))
                      nil
                      :inherit
                      (intern (format "outline-%d" (1+ i)))))

Thanks for this great package by the way.

Software Versions

markdown-mode: version 2.5-dev emacs: 28.0.50.149827-1 (Development master branch) OS: Arch Linux

hikmet517 avatar Sep 09 '21 23:09 hikmet517