[Top][All Lists]

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

Re: [O] Default html export css styles?

From: Eric S Fraga
Subject: Re: [O] Default html export css styles?
Date: Tue, 1 Sep 2015 18:09:27 +0100
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux)

On Tuesday,  1 Sep 2015 at 15:52, Lawrence Bottorff wrote:
> When I do an HTML export of my org buffer, it produces a default css
> section in the head:


> What is producing this default css styling and how can I change it directly?

It's a constant, ~org-html-style-default~, defined in ox-html.el.

Assuming you are using a recent enough org, you can override whether
this is included:

,----[ C-h v org-html-head-include-default-style RET ]
| org-html-head-include-default-style is a variable defined in ‘ox-html.el’.
| Its value is t
|   This variable is safe as a file local variable if its value
|   satisfies the predicate ‘booleanp’.
| Documentation:
| Non-nil means include the default style in exported HTML files.
| The actual style is defined in ‘org-html-style-default’ and
| should not be modified.  Use ‘org-html-head’ to use your own
| style information.
| You can customize this variable.
| This variable was introduced, or its default value was changed, in
| version 24.4 of Emacs.

: Eric S Fraga (0xFFFCF67D), Emacs, Org release_8.3.1-176-g45abec

reply via email to

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