From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kelvin Hu Subject: Question: how to disable htmlize during exporting? Date: Tue, 25 Mar 2014 11:33:44 +0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56795) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSI7X-0003dO-Iq for emacs-orgmode@gnu.org; Mon, 24 Mar 2014 23:33:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WSI7W-00018w-Mq for emacs-orgmode@gnu.org; Mon, 24 Mar 2014 23:33:47 -0400 Received: from mail-la0-x236.google.com ([2a00:1450:4010:c03::236]:50489) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSI7W-00018f-DQ for emacs-orgmode@gnu.org; Mon, 24 Mar 2014 23:33:46 -0400 Received: by mail-la0-f54.google.com with SMTP id mc6so4262231lab.41 for ; Mon, 24 Mar 2014 20:33:44 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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