emacs-orgmode
[Top][All Lists]
Advanced

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

Re: exporting css into a .html file


From: Greg Minshall
Subject: Re: exporting css into a .html file
Date: Mon, 29 Mar 2021 20:39:46 +0300

to answer my own question:

> hi.  i'm wondering what the reference to "style blocks" means in the
> "CSS Support" section of the manual:
> ----
> For longer style definitions, either use several ‘HTML_HEAD’ and
> ‘HTML_HEAD_EXTRA’ keywords, or use ‘<style> ... </style>’ blocks around
> them.  Both of these approaches can avoid referring to an external file.
> ----
> 
> can anyone provide enlightenment?  thanks!

i can't say what the original author meant.  but, one can do this to get
CSS into a file:
----
#+begin_export html
<style> p { margin: 10px; }</style>
#+end_export
----

below is a small patch with clarification in the manual, if deemed
appropriate.

cheers, Greg

Attachment: 0001-Clarify-use-of-style-.-style-for-CSS-in-HTML-export.patch
Description: Text Data


reply via email to

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