Maske <maske1f...@gmail.com> writes: > Is it possible to change the face of org blocks that don't start by "src"? > > > For example: > '(org-src-block-faces '(("ai" variable-pitch))) > > > I think it should affect to: > > #+begin_ai blocks, but it doesn't seem to work for me.
`org-src-block-faces' only affects src blocks, not special blocks. Org mode currently does not support custom faces for special blocks. All you can do is setting the fontification manually, via `font-lock-keywords', as you could in an arbitrary Emacs buffer. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>