silent <silent2...@gmail.com> writes:

> yes, I just checked my emacs, the buffer is much like the exported code,
> emacs buffer not looks that bad because it using a dark blue background,
>
> I changed to another color-theme, and the exported code looks much better,
>
> I will try to customize org-export-htmlize later.
>

Another option is to set the background of code segments to a dark
blue.  I often do that with the inclusion of a line like the following
in my Org-mode file.

#+style: <style type="text/css">pre{background-color: #232323; color: 
#E6E1DC;}</style>

Note, if you are using a color-theme, then the file defining the color
theme probably holds the html code of your background color, which could
then be copied directly as the <pre> element background.

Cheers -- Eric

>
> thanks!
>
> 2011/6/15 Jambunathan K <kjambunat...@gmail.com>:
>> silent <silent2...@gmail.com> writes:
>>
>>> hi,
>>>
>>> I met a problem:
>>>
>>> I use #+BEGIN_SRC html #+END_SRC in org, and export to html
>>> but the source code's highlight color is not good,
>>
>> Does your Emacs buffers look that way?
>>
>>> could you please tell me how can I change the color ?
>>
>> M-x customize-group RET org-export-htmlize
>>
>> is a good starting point. But you have to do some homework.
>>
>> Jambunathan K.
>>
>> --
>>
>

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

Reply via email to