Demarcate babel source block
This commit is contained in:
parent
0efadd63dc
commit
401b5d111c
19
README.org
19
README.org
@ -354,8 +354,9 @@ fonts properly. It boils down to two rules:
|
||||
The code in listing [[lst:configure-face-attributes]] source implements those rules.
|
||||
Listing [[lst:set-default-face-height]] shows that font scaling is easy in case of
|
||||
proper initialization of all face heigths. Listing
|
||||
[[lst:fix-gtk-color-for-invert-default-face]] and listing [[lst:shadow-font-lock-faces]]
|
||||
show a few tweaks to improve visibility without theming:
|
||||
[[lst:fix-gtk-color-for-invert-default-face]], [[lst:shadow-org-font-lock-faces]], and
|
||||
[[lst:shadow-org-font-lock-faces]] show a few tweaks to improve visibility without
|
||||
theming:
|
||||
1. Fixing the =gtk= background color of the already loaded =region= face.
|
||||
2. Toggling between a dark and light background by means of
|
||||
src_emacs-lisp{(invert-default-face)}.
|
||||
@ -447,9 +448,9 @@ show a few tweaks to improve visibility without theming:
|
||||
(fix-gtk-region-face-background-color))
|
||||
#+end_src
|
||||
|
||||
#+caption[Shadow font-lock faces to improve the readability]:
|
||||
#+caption: Shadow font-lock faces to improve the readability.
|
||||
#+name: lst:shadow-font-lock-faces
|
||||
#+caption[Shadow Org font-lock faces to improve the readability]:
|
||||
#+caption: Shadow Org font-lock faces to improve the readability.
|
||||
#+name: lst:shadow-org-font-lock-faces
|
||||
#+begin_src emacs-lisp
|
||||
(with-eval-after-load 'emacs
|
||||
;; Shadow two definitions in org-faces.el:
|
||||
@ -485,8 +486,14 @@ show a few tweaks to improve visibility without theming:
|
||||
:inherit (fixed-pitch)
|
||||
,@(and (>= emacs-major-version 27) '(:extend t))
|
||||
:background "#FFFFD0"))
|
||||
"My face for tables.")
|
||||
"My face for tables."))
|
||||
#+end_src
|
||||
|
||||
#+caption[Shadow Emacs font-lock faces to improve the readability]:
|
||||
#+caption: Shadow Emacs font-lock faces to improve the readability.
|
||||
#+name: lst:shadow-emacs-font-lock-faces
|
||||
#+begin_src emacs-lisp
|
||||
(with-eval-after-load 'emacs
|
||||
;; Shadow one definition in sh-script.el:
|
||||
(defface sh-heredoc
|
||||
'((((class color) (background dark))
|
||||
|
Loading…
Reference in New Issue
Block a user