emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Change color in fontified html export for strings


From: Sebastian Rose
Subject: Re: [Orgmode] Change color in fontified html export for strings
Date: Tue, 14 Sep 2010 02:36:45 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Rainer M Krug <address@hidden> writes:
> Hi
>
> when exporting code blocks to html, strings are exported as yellow
> (#ffff00), which is really difficult to read. Is there a possibility to
> customize the colors (specifically the one used for strings) used for
> the fontification when exporting to html?
>
> Thanks,
>
> Rainer


Change the CSS styles for strings using a stylesheet. 

This is the htmlize-related section of my CSS stylesheet:


pre.src .comment {
  color: #777777;
  font-style: italic;
}
pre.src .comment-delimiter {
  color: #777777;
  font-style: italic;
}
.constant {
  color: #ff4500;
}
.default {
  color: #000000;
}
.builtin {
  color: #0000ff;
}
.function-name {
  color:#0000ff;
}
.html-tag {
  color: #0000ff;
}
.keyword {
  color: #a52a2a;
  font-weight: bold;
}
.string {
  color: #006400;
}
.type {
  font-weight:bold;
  color:#238b8b;
}
.preprocessor {
  color:#0000FF;
}
.variable-name {
  color: #4d4d4d;
  font-weight:bold;
}
.org-meta-line {
  color: #990000;
}
.css-selector {
  color: #0000ff;
  font-weight:bold;
}
.css-property {
  color: #000000;
  font-weight:bold;
}
.makefile-targets {
  font-weight:bold;
  color: #0000ff;
}
pre.src .doc {
  color:#777777;
}
/* ENDE htmlize.el */



  Sebastian



reply via email to

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