emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] controlling how htmlize fontifies code


From: Rick Frankel
Subject: Re: [O] controlling how htmlize fontifies code
Date: Mon, 3 Aug 2015 17:08:02 -0400
User-agent: Mutt/1.5.23 (2014-03-12)

On Mon, Aug 03, 2015 at 02:50:27PM +0100, Eric S Fraga wrote:
> On Sunday,  2 Aug 2015 at 09:19, Rick Frankel wrote:
> > Check the documentation for the variable `org-html-htmlize-output-type'. 
> > Since
> > ox-reveal is derived from ox-html, it should work as specified. I personally
> > use ox-deck (also derived from html), so YMMV.
>
> On Sunday,  2 Aug 2015 at 09:41, Kaushal wrote:
> > I export with my custom Leuven theme (a light theme) css and it works fine.
> > I also have my emacs theme as a dark theme by default.
> >
> > ;; (setq org-html-htmlize-output-type 'inline-css) ; default
> > (setq org-html-htmlize-output-type 'css)
> > ;; (setq org-html-htmlize-font-prefix "") ; default
> > (setq org-html-htmlize-font-prefix "org-")
>

> I have tried both setting a local variable and also using #+bind: but
> neither approach works for some reason.  I did not expect the local
> variable setting to work, of course.
>

Both should work. Are you sure you have `org-export-allow-bind-keywords' set?
Why wouldn't you expect local variables to work?

rick



reply via email to

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