all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stanton <stanton@haas.berkeley.edu>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Code blocks (partially) inherit buffer colors
Date: Fri, 1 Mar 2013 03:56:12 +0000	[thread overview]
Message-ID: <CE09F36B1F891947ACDD158E233F555A04C293@exmail10-b.haas.uc.berkeley.edu> (raw)

[-- 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 --]

             reply	other threads:[~2013-03-01  4:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-01  3:56 Richard Stanton [this message]
2013-03-01  5:29 ` Code blocks (partially) inherit buffer colors 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CE09F36B1F891947ACDD158E233F555A04C293@exmail10-b.haas.uc.berkeley.edu \
    --to=stanton@haas.berkeley.edu \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.