emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[FR] Fontifying src-blocks with no language specified


From: carsten
Subject: [FR] Fontifying src-blocks with no language specified
Date: Thu, 16 Feb 2023 11:49:23 +0100

Fontifying src-blocks with a missing language would allow being able to theme src-blocks without having the unthemed text of languages fallback to whatever color the src-blocks are set to. I envision this could be done with an empty string in org-src-block-faces.

See the below example where printf has the org-block face, in this case it would allow using a more normal color by default for org-blocks where the blocks without a language could use a more pronounced color.

#+BEGIN_SRC C
int main() {
    printf("Hello World\\n");
}
#+END_SRC

#+BEGIN_SRC
this is just a block of text
#+END_SRC




reply via email to

[Prev in Thread] Current Thread [Next in Thread]