Hi,

Nicolas Goaziou <m...@nicolasgoaziou.fr> writes:

> Not really, although I would write it like the following instead:
>
>   (let ((output-type org-html-htmlize-output-type)
>         (font-prefix org-html-htmlize-font-prefix))
>     (with-temp-buffer
>       ...
>       ;; Htmlize region.
>       (let ((org-html-htmlize-output-type output-type)
>             (org-html-htmlize-font-prefix font-prefix))
>         (org-html-htmlize-region-for-paste
>          (point-min) (point-max)))))

That might be ascetically nicer.

>> Of course, in org-html--build-head the mysterious :html-htmlized-css-url
>> is required so you won't actually get any default colors, which is a bit
>> boring in my opinion.  I don't know if I'm misunderstanding
>> :html-htmlized-css-url, a bug or something supposed to be set via a
>> publish project.
>
> I think there's a bug. `org-org-htmlized-css-url' is defined in
> "ox-org.el", but not attached to any info property. So, at the
> moment, :html-htmlized-css-url is bogus.

Do we have a function that can generate a candidate css file for
org-org-htmlized-css-url or :html-htmlize-css-url?

Rasmus

-- 
Lasciate ogni speranza o voi che entrate: siete nella mani di'machellaio


Reply via email to