emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Seeking advice on a worg contribution


From: Eric S Fraga
Subject: Re: [O] Seeking advice on a worg contribution
Date: Tue, 6 May 2014 08:30:05 +0100
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.50 (gnu/linux)

On Tuesday,  6 May 2014 at 10:17, James Harkins wrote:

[...]

> Let's assume I'm an HTML idiot (which is true...). Is it really true,
> according to [1], that the only way to add this CSS class definition
> is to put it in a separate file and link it? It seems to be the only
> *documented* method.

No, you can put definitions in the org file directly as part of the HTML
header, as in this example which changes the behaviour for the whole
document body and how figures are presented:

#+begin_src org
  ,#+HTML_HEAD: <style type="text/css"><!-- 
  ,#+HTML_HEAD:  body { font-family: sans; font-size: 12pt; line-height: 1.4em; 
}
  ,#+HTML_HEAD:  div.figure { font-size: 10pt; font-style: italic; }
  ,#+HTML_HEAD: --></style>
#+end_src

You will be able to define the CSS for your code block caption in a
similar way.

eric

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.1, Org release_8.2.6-937-g60502a



reply via email to

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