emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Question: how to disable htmlize during exporting?


From: Bastien
Subject: Re: [O] Question: how to disable htmlize during exporting?
Date: Tue, 25 Mar 2014 09:25:47 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

Hi Kelvin,

Kelvin Hu <address@hidden> writes:

> Org is awesome and now I use it as my blogging tool, everything is
> perfect except the source code highlighting. Org uses htmlize.el to
> highlight source code, it's fine, but when I use another theme or on a
> different machine, the generated html(contains source code block) will
> change due to Emacs theme change. As I use git to manage my generated
> html files, so when publishing after a theme change, those html files
> contain source code will change and thus I need to *git commit* a lot
> of files without actual useful content change!

> So now I want to use google prettify.js to highlight my source code,
> but I cannot disable htmlize.el during exporting, I googled and
> someone said removing htmlize.el will achieve this, but I don't think
> it is a good idea.

I'd try to set `org-html-htmlize-output-type' to nil but I didn't
test.  If it does not work, this is a bug.

-- 
 Bastien



reply via email to

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