我用了本论坛推荐的这个theme,看了半天没发现在哪。。。
搜索face org-block
找到了,但是他只设置了字体颜色没有设置背景颜色咋办。。。
org-src-block-faces is a variable defined in ‘org-src.el’.
Its value is nil
You can customize this variable.
This variable was introduced, or its default value was changed, in
version 26.1 of Emacs.
Documentation:
Alist of faces to be used for source-block.
Each element is a cell of the format
("language" FACE)
Where FACE is either a defined face or an anonymous face.
For instance, the following value would color the background of
emacs-lisp source blocks and python source blocks in purple and
green, respectability.
'(("emacs-lisp" (:background "#EEE2FF"))
("python" (:background "#e5ffb8")))
[back]