emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Code blocks (partially) inherit buffer colors
@ 2013-03-01  3:56 Richard Stanton
  2013-03-01  5:29 ` Eric Schulte
  0 siblings, 1 reply; 6+ messages in thread
From: Richard Stanton @ 2013-03-01  3:56 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 718 bytes --]

When I export a code block to HTML, I've noticed that some (but not all) of the characters in the resulting HTML file have the same background color as my Emacs buffer at the time I exported. For example, if I export

-----------

#+begin_src python
a = 5
#+end_src

------------

the code block in the resulting HTML file has a very pale background, except for the characters "a" and "5", both of which are displayed with a  dark blue background that looks like it's the same as the background color in my Emacs buffer. This looks rather odd...

I can work around this problem by changing the color-theme in my Emacs buffer before exporting, but is there a better solution?

Thanks.

Richard Stanton

[-- Attachment #2: Type: text/html, Size: 2965 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-03-04 18:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-01  3:56 Code blocks (partially) inherit buffer colors Richard Stanton
2013-03-01  5:29 ` Eric Schulte
2013-03-01  5:31   ` Richard Stanton
2013-03-02 22:09   ` Richard Stanton
2013-03-04 17:48     ` Bastien
2013-03-04 18:08       ` Richard Stanton

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).