markdown-mode
markdown-mode copied to clipboard
Suggestion: 'markdown-header-face-x' should inherit 'outline-x'
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