emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Code blocks (partially) inherit buffer colors


From: Richard Stanton
Subject: Re: [O] Code blocks (partially) inherit buffer colors
Date: Fri, 1 Mar 2013 05:31:08 +0000

Thanks, Eric.

-----Original Message-----
From: Eric Schulte [mailto:address@hidden 
Sent: Thursday, February 28, 2013 9:29 PM
To: Richard Stanton
Cc: address@hidden
Subject: Re: [O] Code blocks (partially) inherit buffer colors

Richard Stanton <address@hidden> writes:

> 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

See the documentation of the `org-export-htmlize-output-type' variable.

--
Eric Schulte
http://cs.unm.edu/~eschulte



reply via email to

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