emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Question: how to disable htmlize during exporting?
@ 2014-03-25  3:33 Kelvin Hu
  2014-03-25  8:25 ` Bastien
  0 siblings, 1 reply; 5+ messages in thread
From: Kelvin Hu @ 2014-03-25  3:33 UTC (permalink / raw)
  To: emacs-orgmode

Dears,

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.

Any ideas?

Thanks,
Kelvin

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-03-25 15:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-25  3:33 Question: how to disable htmlize during exporting? Kelvin Hu
2014-03-25  8:25 ` Bastien
     [not found]   ` <CAO61DjxKttv80o3pMN3Z2ZNORDRYw5j=E_eKrT0wiGypdWdSxg@mail.gmail.com>
2014-03-25 12:29     ` Fwd: " Kelvin Hu
2014-03-25 15:37       ` Rick Frankel
2014-03-25 15:41         ` Bastien

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).