emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [BUG] html-htmlize-output-type does not work on a per project basis


From: Ihor Radchenko
Subject: Re: [BUG] html-htmlize-output-type does not work on a per project basis [9.6.15 (release_9.6.15 @ /usr/local/share/emacs/29.3/lisp/org/)]
Date: Sat, 15 Jun 2024 13:32:10 +0000

Mehul Sanghvi <mehul.sanghvi@gmail.com> writes:

> I would like to be able to set =:html-htmlize-output-type= on a
> per-project basis.  That does not seem to be working.  If I have
> ~htmlize.el~ installed and set =:html-htmlize-output-type css=, then I
> get hardcoded values for the colours being used in the code blocks.  If
> I don't have ~htmlize.el~ installed, I get plain text.  To get CSS class
> names, I have to do an explicit =(setq org-html-htmlize-output-type
> 'css)= which effects all publishing projects.
>
>
> 1.  What exactly did you do?
>
> I set =:html-htmlize-output-type css= in the _blog-non-prod_ project.
> I also set =:html-htmlize-output-type 'css= and then tried both values
> with =htmlize-output-type= as well.

ox-html does not currently support setting :html-htmlize-output-type
option. Only variable `org-html-htmlize-output-type' is supported.
Same for `org-html-htmlize-font-prefix'.

It would be nice to change this, yes.
Confirmed.

Patches welcome!

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

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