From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: babel "language" for conf-mode? Date: Tue, 07 Oct 2014 13:38:18 +0800 Message-ID: <8738b01lth.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44697) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XbNQ6-0004w5-Dh for emacs-orgmode@gnu.org; Tue, 07 Oct 2014 01:34:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XbNPy-0000Ea-QV for emacs-orgmode@gnu.org; Tue, 07 Oct 2014 01:34:46 -0400 Received: from plane.gmane.org ([80.91.229.3]:59044) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XbNPy-0000EI-Ki for emacs-orgmode@gnu.org; Tue, 07 Oct 2014 01:34:38 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XbNPr-0006DO-AK for emacs-orgmode@gnu.org; Tue, 07 Oct 2014 07:34:31 +0200 Received: from 36.248.254.122 ([36.248.254.122]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 07 Oct 2014 07:34:31 +0200 Received: from eric by 36.248.254.122 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 07 Oct 2014 07:34:31 +0200 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 I'm doing a blog post on various computer configuration stuff, including lengthy excerpts from configuration files. It would be kind of nice to export the HTML so that the :htmlize-source option also recognized these chunks, and highlighted them correctly. So instead of wrapping the excerpts in #+BEGIN_EXAMPLE I could wrap them in #+BEGIN_SOURCE conf-unix And get highlighting a la conf-unix-mode. It's not quite a babel "language", since evaluation wouldn't do anything, but is there a way to just get the highlighting? Thanks! Eric