Mehul Sanghvi <mehul.sang...@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