On Sat, Jun 15, 2024 at 9:30 AM Ihor Radchenko <yantar92@posteo.net> wrote:
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,  thanks for clarifying that information.  I've made adjustments in my configs based on that information.  

For patches,  I'll see what I can do, but my emacs-lisp is not very great.  Also wouldn't I need to sign some
documents with FSF in order to contribute?


cheers,

    mehul


--
Mehul N. Sanghvi
email: mehul.sanghvi@gmail.com