fniessen / org-html-themes

Transform your Org mode files into stunning HTML documents in minutes with our Org mode HTML theme. Elevate your productivity and impress your readers! #orgmode #html #theme #productivity #design

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to customize appearance of comments in code blocks?

f-dangel opened this issue · comments

Hi, thanks for the nice themes!

my question is similar to the remark on changing the background of code blocks in the README. But I would like to change the color of comments in code blocks. In the readtheorg theme, the background color is a dark tone (see screenshot). I would like to replace that with a brighter color.

Here is an MWE org file that html-exports to the attached screenshot.

#+SETUPFILE: https://fniessen.github.io/org-html-themes/org/theme-readtheorg.setup
#+begin_src python
  # How do I change the background/font color of this line?
  print("Hello world")
#+end_src

Screenshot:

block

Thanks in advance!

Felix