Rainer M Krug <[email protected]> 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
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode